pyvista.plotting.charts.BoxPlot.toggle#

BoxPlot.toggle()[ソース]#

プロットの表示を切り替えます.

箱ひげ図を作成します.

>>> import pyvista as pv
>>> chart = pv.ChartBox([[0, 1, 1, 2, 3, 3, 4]])
>>> plot = chart.plot
>>> chart.show()
../../../../_images/pyvista-plotting-charts-BoxPlot-toggle-1_00_00.png

それを隠します.

>>> plot.toggle()
>>> chart.show()
../../../../_images/pyvista-plotting-charts-BoxPlot-toggle-1_01_00.png