chemparseplot.plot.theme¶
Module Contents¶
Classes¶
Holds all aesthetic parameters for a matplotlib theme. |
Functions¶
Build and register a LinearSegmentedColormap from a list of hex colors. |
|
Sets global plt.rcParams based on the theme. |
|
Applies theme properties specific to an axis instance. |
|
Retrieves a theme by name and applies optional property overrides. |
Data¶
API¶
- chemparseplot.plot.theme.log¶
‘getLogger(…)’
- chemparseplot.plot.theme.RUHI_COLORS¶
None
- class chemparseplot.plot.theme.PlotTheme¶
Holds all aesthetic parameters for a matplotlib theme.
- chemparseplot.plot.theme.BATLOW_THEME¶
‘PlotTheme(…)’
- chemparseplot.plot.theme.RUHI_THEME¶
‘PlotTheme(…)’
- chemparseplot.plot.theme.THEMES¶
None
- chemparseplot.plot.theme.build_cmap(hex_list, name)¶
Build and register a LinearSegmentedColormap from a list of hex colors.
- chemparseplot.plot.theme.setup_global_theme(theme: chemparseplot.plot.theme.PlotTheme)¶
Sets global plt.rcParams based on the theme.
- chemparseplot.plot.theme.apply_axis_theme(ax: matplotlib.pyplot.Axes, theme: chemparseplot.plot.theme.PlotTheme)¶
Applies theme properties specific to an axis instance.
- chemparseplot.plot.theme.get_theme(name: str, **overrides) chemparseplot.plot.theme.PlotTheme¶
Retrieves a theme by name and applies optional property overrides.