ChartMPL.visible#
Examples#
Download Python source code | Download Jupyter notebook
Create a matplotlib chart.
>>> import pyvista as pv
>>> chart = pv.ChartMPL()
>>> plots = chart.figure.axes[0].plot([0, 1, 2], [2, 1, 3])
>>> chart.show()
Hide it.
>>> chart.visible = False
>>> chart.show()