autocti.plot.Cmap#
- class autocti.plot.Cmap(symmetric: bool = False, **kwargs)[source]#
Bases:
AbstractMatWrapCustomizes the Matplotlib colormap and its normalization.
This object wraps the following Matplotlib methods:
colors.Linear: https://matplotlib.org/3.3.2/tutorials/colors/colormaps.html
colors.LogNorm: https://matplotlib.org/3.3.2/tutorials/colors/colormapnorms.html
colors.SymLogNorm: https://matplotlib.org/3.3.2/api/_as_gen/matplotlib.colors.SymLogNorm.html
The cmap that is created is passed into various Matplotlib methods, most notably imshow:
- Parameters:
symmetric – If True, the colormap normalization (e.g. vmin and vmax) span the same absolute values producing a symmetric color bar.
Methods
Returns the Normalization object which scales of the colormap.
vmax_fromvmin_fromAttributes
cmapconfig_categoryconfig_dictconfig_foldersymmetric