TextDecorator

class qf_lib.plotting.decorators.text_decorator.TextDecorator(text: str, x: qf_lib.plotting.decorators.coordinate.Coordinate, y: qf_lib.plotting.decorators.coordinate.Coordinate, key: str = None, **plot_settings: Any)[source]

Bases: qf_lib.plotting.decorators.chart_decorator.ChartDecorator

Adds text to the Chart at given coordinates (e.g. the label for data point).

Parameters

Methods

decorate(chart)

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

decorate(chart: Chart) → None[source]

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