AxesLabelDecorator

class qf_lib.plotting.decorators.axes_label_decorator.AxesLabelDecorator(x_label: str = None, y_label: str = None, secondary_y_label: str = None, key: str = None)[source]

Bases: qf_lib.plotting.decorators.chart_decorator.ChartDecorator

Creates a new axes label decorator that shows the specified x_label and y_label on the chart.

Methods

decorate(chart)

Modifies the axes object taken from the chart (e.g.

decorate(chart: qf_lib.plotting.charts.chart.Chart)[source]

Modifies the axes object taken from the chart (e.g. adds legend, draws cone, etc.).