SparklineCoordinates
Documentation for eth_defi.research.sparkline.SparklineCoordinates Python class.
- class SparklineCoordinates
Bases:
objectPixel coordinates shared by deterministic SVG and PNG renderers.
Attributes summary
Ordered observation points as
(x, y)pixels.Baseline used by the non-constant gradient area.
Whether every finite share price has the same value.
Methods summary
__init__(points, baseline_y, is_constant)- baseline_y: float
Baseline used by the non-constant gradient area.
- is_constant: bool
Whether every finite share price has the same value.