mcmaps module#
Top-level package for mcmaps.
- class mcmaps.ColormapContainer[source]#
Bases:
objectA container for dynamically registering and accessing colormaps.
- All colormap names are dynamically registered as attributes of this class
- and are available globally in Matplotlib by their names.
- mcmaps.save_all_colormaps_preview(output_dir='docs/colormaps', width=6, height=1)[source]#
Save preview images of all registered colormaps to a directory.
- Parameters:
output_dir (str) – Directory where the preview images will be saved.
width (float) – Width of the generated figure in inches.
height (float) – Height of the generated figure in inches.