pyvista.Chart2D.visible#

property Chart2D.visible[ソース]#

チャートの表示を返すか設定します.

2Dチャートを作成します.

>>> import pyvista as pv
>>> chart = pv.Chart2D()
>>> plot = chart.line([0, 1, 2], [2, 1, 3])
>>> chart.show()
../../../../_images/pyvista-Chart2D-visible-1_00_00.png

それを隠します.

>>> chart.visible = False
>>> chart.show()
../../../../_images/pyvista-Chart2D-visible-1_01_00.png