border_width

property ChartBox.border_width

Return or set the chart’s border width.

Examples

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

>>> import pyvista
>>> chart = pyvista.ChartBox([[0, 1, 1, 2, 3, 3, 4]])
>>> chart.border_color = 'r'
>>> chart.border_width = 5
>>> chart.border_style = '--'
>>> chart.show()
../../../../_images/pyvista-ChartBox-border_width-1_00_00.png