notebook

property DefaultTheme.notebook: Optional[bool]

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
>>> pyvista.global_theme.notebook = False