pyvista.Chart2D.toggle#

Chart2D.toggle()[ソース]#

チャートの表示を切り替えます.

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

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

それを隠します.

>>> chart.toggle()
>>> chart.show()
../../../../_images/pyvista-Chart2D-toggle-1_01_00.png