pyvista.ChartPie.border_color

pyvista.ChartPie.border_color#

property ChartPie.border_color[source]#

Return or set the chart’s border color.

Examples

Create a pie chart with a thick, dashed red border.

>>> import pyvista as pv
>>> chart = pv.ChartPie([5, 4, 3, 2, 1])
>>> chart.border_color = 'r'
>>> chart.border_width = 5
>>> chart.border_style = '--'
>>> chart.show(interactive=False)
../../../../_images/pyvista-ChartPie-border_color-2_00_00.png