color#

property Brush.color#

Return or set the brush’s color.

Examples

Set the brush’s color to red.

>>> import pyvista
>>> chart = pyvista.Chart2D()
>>> plot = chart.area([0, 1, 2], [0, 0, 1], [1, 3, 2])
>>> plot.brush.color = 'r'
>>> chart.show()
../../../../_images/pyvista-plotting-charts-Brush-color-1_00_00.png