pyvista.ChartMPL.visible#

property ChartMPL.visible[ソース]#

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

matplotlibチャートを作成します.

>>> import pyvista as pv
>>> chart = pv.ChartMPL()
>>> plots = chart.figure.axes[0].plot([0, 1, 2], [2, 1, 3])
>>> chart.show()
../../../../_images/pyvista-ChartMPL-visible-1_01_00.png

それを隠します.

>>> chart.visible = False
>>> chart.show()
../../../../_images/pyvista-ChartMPL-visible-1_02_00.png