DocumentTheme#
- class DocumentTheme[source]#
A document theme well suited for papers and presentations.
This theme uses:
A white background
Black fonts
The “viridis” colormap
disables edges for surface plots
Hidden edge removal
Best used for presentations, papers, etc.
Examples#
Download Python source code | Download Jupyter notebook
Make the document theme the global default.
>>> import pyvista as pv
>>> from pyvista import themes
>>> pv.set_plot_theme(themes.DocumentTheme())
Alternatively, set via a string.
>>> pv.set_plot_theme('document')
Used In#
Docstring Examples
Theme(1 use)Theme.load_theme(1 use)
Gallery Examples
Inherited Attributes#
Return or set the default above range color. |
|
Return or set whether to allow plotting empty meshes. |
|
Enable or disable anti-aliasing. |
|
Automatically close the figures when finished plotting. |
|
Return or set the default axes configuration. |
|
Return or set the default background color of pyvista plots. |
|
Return the default callback function to run before the plotter closes. |
|
Return or set the default below range color. |
|
Return or set the default border color of a plotter. |
|
Return or set the default border/subplot seam width in pixels. |
|
Return or set the default camera position. |
|
Return or set the default colormap of pyvista. |
|
Return or set the default color of meshes in pyvista. |
|
Return or set the default color cycler used to color meshes. |
|
Return or set the default parameters of a horizontal colorbar. |
|
Return or set the default colorbar orientation. |
|
Return or set the default parameters of a vertical colorbar. |
|
Return or set the default depth peeling parameters. |
|
Return or set the default edge color. |
|
Return or set the edges opacity. |
|
Enable the camera orientation widget in all plotters. |
|
Return or set the default floor color. |
|
Return or set the default font size, family, and/or color. |
|
Return if figures are shown in full screen. |
|
Return or set hidden line removal. |
|
Return or set the default image scale factor. |
|
Return or set the default interactive parameter. |
|
Return or set the default interactor style. |
|
Return or set whether to interpolate colors before mapping. |
|
Return or set the jupyter notebook plotting backend. |
|
Return or set whether lighting is enabled by default. |
|
Return or set the default lighting configuration. |
|
Return or set the default line width. |
|
Return or set the logo file. |
|
Return or set the default splitting position for multi-rendering. |
|
Return or set the default number of multisamples. |
|
Return or set the name of the theme. |
|
Return or set the default NaN color. |
|
Return or set the state of notebook plotting. |
|
Return or set the opacity. |
|
Return or set the default outline color. |
|
Return or set the default point sprite shape. |
|
Return or set the default point size. |
|
Return or set whether lines are rendered as tubes by default. |
|
Return or set whether points are rendered as spheres by default. |
|
Set or return resampling environment texture. |
|
Return or set the default behavior of returning the camera position. |
|
Set or return the angle of the sharp edges feature angle. |
|
Return or set the default edge visibility. |
|
Return or set the default color bar visibility. |
|
Return or set the default vertex visibility. |
|
Return or set the default silhouette configuration. |
|
Return the default slider style configurations. |
|
Return or set whether smooth shading is used by default. |
|
Set or return splitting sharp edges. |
|
Return or set the default plot title. |
|
Return or set the default trame parameters. |
|
Return or set whether the background is transparent by default. |
|
Return or set the default volume mapper. |
|
Return or set the default render window size. |
Inherited Methods#
Create an instance from a dictionary of attribute values. |
|
Overwrite the current theme with a theme. |
|
Restore the theme defaults. |
|
Serialize this theme to a |
|
Return config parameters as a dictionary. |