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