AxesPositionDecorator¶
-
class
qf_lib.plotting.decorators.axes_position_decorator.
AxesPositionDecorator
(left: float, bottom: float, width: float, height: float, key: str = None)[source]¶ Bases:
qf_lib.plotting.decorators.chart_decorator.ChartDecorator
Sets the position of the axes (the area of the chart) on the figure.
- Parameters
left (float) – expressed as values from 0 to 1 left, bottom is the bottom left point of the Axis (excluding the ticks and ticks’ labels)
bottom (float) – expressed as values from 0 to 1
width (float) – expressed as values from 0 to 1
height (float) – expressed as values from 0 to 1
key – see ChartDecorator.key.__init__#key
Methods
decorate
(chart)Modifies the axes object taken from the chart (e.g.