pyvista.Plotter.theme#
- property Plotter.theme[source]#
Return or set the theme used for this plotter.
- Returns:
pyvista.Theme
Theme of this plotter.
Examples
Use the dark theme for a plotter.
>>> import pyvista as pv >>> from pyvista import themes >>> pl = pv.Plotter() >>> pl.theme = themes.DarkTheme() >>> actor = pl.add_mesh(pv.Sphere()) >>> pl.show()