pyvista.plotting.themes.Theme.notebook#

property Theme.notebook: bool | None[source]#

Return or set the state of notebook plotting.

Setting this to True always enables notebook plotting, while setting it to False disables plotting even when plotting within a jupyter notebook and plots externally.

Examples

Disable all jupyter notebook plotting.

>>> import pyvista as pv
>>> pv.global_theme.notebook = False