pyvista.themes.ParaViewTheme

class ParaViewTheme

A paraview-like theme.

Examples

Make the paraview-like theme the global default.

>>> import pyvista
>>> from pyvista import themes
>>> pyvista.set_plot_theme(themes.ParaViewTheme())

Alternatively, set via a string.

>>> pyvista.set_plot_theme('paraview')

Methods

ParaViewTheme.from_dict(dict_)

Create from a dictionary.

ParaViewTheme.load_theme(theme)

Overwrite the current theme with a theme.

ParaViewTheme.restore_defaults()

Restore the theme defaults.

ParaViewTheme.save(filename)

Serialize this theme to a json file.

ParaViewTheme.to_dict()

Return theme config parameters as a dictionary.

Attributes

ParaViewTheme.antialiasing

Enable or disable anti-aliasing.

ParaViewTheme.auto_close

Automatically close the figures when finished plotting.

ParaViewTheme.axes

Return or set the default axes configuration.

ParaViewTheme.background

Return or set the default background color of pyvista plots.

ParaViewTheme.camera

Return or set the default camera position.

ParaViewTheme.cmap

Return or set the default colormap of pyvista.

ParaViewTheme.color

Return or set the default color of meshes in pyvista.

ParaViewTheme.colorbar_horizontal

Return or set the default parameters of a horizontal colorbar.

ParaViewTheme.colorbar_orientation

Return or set the default colorbar orientation.

ParaViewTheme.colorbar_vertical

Return or set the default parameters of a vertical colorbar.

ParaViewTheme.depth_peeling

Return or set the default depth peeling parameters.

ParaViewTheme.edge_color

Return or set the default edge color.

ParaViewTheme.floor_color

Return or set the default floor color.

ParaViewTheme.font

Return or set the default font size, family, and/or color.

ParaViewTheme.full_screen

Return if figures are shown in full screen.

ParaViewTheme.hidden_line_removal

Return or set hidden line removal.

ParaViewTheme.interactive

Return or set the default interactive parameter.

ParaViewTheme.jupyter_backend

Return or set the jupyter notebook plotting backend.

ParaViewTheme.lighting

Return or set the default lighting.

ParaViewTheme.multi_rendering_splitting_position

Return or set the default multi_rendering_splitting_position parameter.

ParaViewTheme.multi_samples

Return or set the default multi_samples parameter.

ParaViewTheme.name

Return or set the name of the theme.

ParaViewTheme.nan_color

Return or set the default NaN color.

ParaViewTheme.notebook

Return or set the state of notebook plotting.

ParaViewTheme.outline_color

Return or set the default outline color.

ParaViewTheme.render_points_as_spheres

Return or set the default render_points_as_spheres parameter.

ParaViewTheme.return_cpos

Return or set the default behavior of returning the camera position.

ParaViewTheme.show_edges

Return or set the default edge visibility.

ParaViewTheme.show_scalar_bar

Return or set the default color bar visibility.

ParaViewTheme.silhouette

Return or set the default silhouette configuration.

ParaViewTheme.slider_styles

Return the default slider style configurations.

ParaViewTheme.smooth_shading

Return or set the default smooth_shading parameter.

ParaViewTheme.title

Return or set the default title parameter.

ParaViewTheme.transparent_background

Return or set the default transparent_background parameter.

ParaViewTheme.use_ipyvtk

Set or return the usage of "ipyvtk" as a jupyter backend.

ParaViewTheme.volume_mapper

Return or set the default volume_mapper parameter.

ParaViewTheme.window_size

Return or set the default render window size.