pyvista.plotting.themes.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

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')

Methods

Attributes