Themes
Colour themes shared by the Matplotlib and Plotly Bloch spheres.
Functions
-
theme(name)[source]
Look up a colour theme.
- Parameters:
name (str or dict) – 'dark' or 'light', or a custom dict with the keys of THEMES['dark'].
- Returns:
dict
-
use_mpl_style(name='dark')[source]
Apply a theme to every Matplotlib figure that follows (used by the tutorials).
- Parameters:
name (str or dict, optional) – 'dark' or 'light', or a custom dict with the keys of THEMES['dark'].
- Returns:
dict – The theme that was applied.