PieChart
- class qf_lib.plotting.charts.pie_chart.PieChart(data: QFSeries, slices_distance: Tuple[float, QFSeries] = 0.01, sort_values: Optional[bool] = True, **plot_settings)[source]
Bases:
Chart
Pie chart util class, it can plot only QFSeries.
- Parameters:
Methods:
plot
([figsize])Plots the chart.
- plot(figsize: Tuple[float, float] = None) 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.