AxesLocatorDecorator

class qf_lib.plotting.decorators.axes_locator_decorator.AxesLocatorDecorator(x_major: Optional[Locator] = None, x_minor: Optional[Locator] = None, y_major: Optional[Locator] = None, y_minor: Optional[Locator] = None, key: Optional[str] = None)[source]

Bases: ChartDecorator

Creates a new axes locator decorator that changes how often the tickers in the x and y-axis are displayed.

See here for a list of valid axes locators: http://matplotlib.org/api/ticker_api.html#tick-locating

Methods:

decorate(chart)

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

decorate(chart)[source]

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