pyvista.ChartBox.border_style#

property ChartBox.border_style[source]#

Return or set the chart’s border style.

Examples

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

>>> import pyvista as pv
>>> chart = pv.ChartBox([[0, 1, 1, 2, 3, 3, 4]])
>>> chart.border_color = 'r'
>>> chart.border_width = 5
>>> chart.border_style = '--'
>>> chart.show(interactive=False)
https://d33wubrfki0l68.cloudfront.net/87382621ee7f73c5980cf2e9929a28fd785051ee/9ab46/_images/pyvista-chartbox-border_style-2_00_00.png