BoxplotChart¶
-
class
qf_lib.plotting.charts.boxplot_chart.
BoxplotChart
(data: List[qf_lib.containers.series.qf_series.QFSeries], **plot_settings)[source]¶ Bases:
qf_lib.plotting.charts.chart.Chart
Creates a box plot consisting of the list of
QFSeries
specified indata
.- Parameters
data (List[QFSeries]) – A list of
QFSeries
.plot_settings – Passed to Seaborn plotting function.
Attributes
Used for storing the boxplot chart’s series.
Methods
plot
(figsize, float] = None)Plots the chart.
-
SERIES_KEY
= 'series'¶ Used for storing the boxplot chart’s series.
-
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.