pyvista.Chart2D.border_color#

property Chart2D.border_color[ソース]#

チャートの境界線色を返すか設定します.

赤色の太い破線の境界線を持つ2Dチャートを作成します.

>>> import pyvista as pv
>>> chart = pv.Chart2D()
>>> plot = chart.line([0, 1, 2], [2, 1, 3])
>>> chart.border_color = 'r'
>>> chart.border_width = 5
>>> chart.border_style = '--'
>>> chart.show(interactive=False)
../../../../_images/pyvista-Chart2D-border_color-1_00_00.png