pyvista.ChartPie.border_width#

property ChartPie.border_width[source]#

Return or set the chart’s border width.

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)
https://d33wubrfki0l68.cloudfront.net/04e0426bd1c5254b62f0cefd3b5412591161af1b/c3eb0/_images/pyvista-chartpie-border_width-2_00_00.png