ChartBox.toggle#
Examples#
Download Python source code | Download Jupyter notebook
Create a boxplot chart.
>>> import pyvista as pv
>>> chart = pv.ChartBox([[0, 1, 1, 2, 3, 3, 4]])
>>> chart.show()
Hide it.
>>> chart.toggle()
>>> chart.show()
Download Python source code | Download Jupyter notebook
Create a boxplot chart.
>>> import pyvista as pv
>>> chart = pv.ChartBox([[0, 1, 1, 2, 3, 3, 4]])
>>> chart.show()
Hide it.
>>> chart.toggle()
>>> chart.show()