pyvista.plotting.charts.Pen.color#

property Pen.color[ソース]#

ペンの色を返すか設定します.

ペンの色を赤に設定します.

>>> import pyvista as pv
>>> chart = pv.Chart2D()
>>> plot = chart.line([0, 1, 2], [2, 1, 3])
>>> plot.pen.color = 'r'
>>> chart.show()
../../../../_images/pyvista-plotting-charts-Pen-color-1_00_00.png