pyvista.plotting.charts.Brush.color#

property Brush.color[ソース]#

ブラシの色を返すか設定します.

ブラシの色を赤に設定します.

>>> import pyvista as pv
>>> chart = pv.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