AnnualReturnsBarChart

class qf_lib.plotting.charts.annual_returns_bar_chart.AnnualReturnsBarChart(strategy_tms)[source]

Bases: qf_lib.plotting.charts.chart.Chart

Methods

plot(figsize, float] = None)

Plots the chart.

plot(figsize: Tuple[float, float] = None)[source]

Plots the chart. The underlying figure stays hidden until the show() method is called.

Parameters

figsize (Tuple[float, float]) – The figure size to draw the chart at in inches. This is a tuple of (width, height) passed directly to matplotlib’s plot function. The values are expressed in inches.