border_color#

property ChartMPL.border_color#

Return or set the chart’s border color.

Examples

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

>>> import pyvista
>>> chart = pyvista.ChartMPL()
>>> plots = chart.figure.axes[0].plot([0, 1, 2], [2, 1, 3])
>>> chart.border_color = 'r'
>>> chart.border_width = 5
>>> chart.border_style = '--'
>>> chart.show()
../../../../_images/pyvista-ChartMPL-border_color-1_01_00.png