DataCoordinate

class qf_lib.plotting.decorators.coordinate.DataCoordinate(value: object)[source]

Bases: qf_lib.plotting.decorators.coordinate.Coordinate

Coordinate which is bound to data (e.g. coordinate being a certain point on x-axis).

Methods

get_transformation(chart)

Returns the proper transformation which transforms coordinate from the absolute system to a specific one (depends on the implementation).

get_transformation(chart: Chart) → matplotlib.transforms.Transform[source]

Returns the proper transformation which transforms coordinate from the absolute system to a specific one (depends on the implementation).