# Examples from pyvista.plotting.charts.BoxPlot.toggle
# ====================================================

# 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()

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

