TextDecorator

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

Bases: 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.).