pyvista.plotting.charts.PiePlot.visible#

property PiePlot.visible[ソース]#

図の表示を返すか設定します.

円グラフを作成します.

>>> import pyvista as pv
>>> chart = pv.ChartPie([4, 3, 2, 1])
>>> plot = chart.plot
>>> chart.show()
../../../../_images/pyvista-plotting-charts-PiePlot-visible-1_00_00.png

それを隠します.

>>> plot.visible = False
>>> chart.show()
../../../../_images/pyvista-plotting-charts-PiePlot-visible-1_01_00.png