background_color#
- property ChartPie.background_color#
Return or set the chart’s background color.
Examples
Create a pie chart with a green background.
>>> import pyvista >>> chart = pyvista.ChartPie([5, 4, 3, 2, 1]) >>> chart.background_color = (0.5, 0.9, 0.5) >>> chart.show()