Plot Themes#

simpleEMS.plot_theme Module#

Dark and light themes for simpleEMS plots, in matplotlib and PyVista.

The dark theme is applied the first time this module is imported, which happens whenever simpleEMS.sim_tools is imported. use_light_theme() and use_dark_theme() switch between the two for every figure and plotter created afterwards.

Functions#

use_dark_theme()

Apply the simpleEMS dark theme to matplotlib and PyVista.

use_light_theme()

Restore the default light looks of matplotlib and PyVista.