BoxplotChart

class qf_lib.plotting.charts.boxplot_chart.BoxplotChart(data: List[QFSeries], **plot_settings)[source]

Bases: Chart

Creates a box plot consisting of the list of QFSeries specified in data.

Parameters:
  • data (List[QFSeries]) – A list of QFSeries.

  • plot_settings – Passed to Seaborn plotting function.

Attributes:

SERIES_KEY

Used for storing the boxplot chart's series.

Methods:

plot([figsize])

Plots the chart.

SERIES_KEY = 'series'

Used for storing the boxplot chart’s series.

plot(figsize: Optional[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.