mpas_analysis.shared.plot.colormap.setup_colormap¶
-
mpas_analysis.shared.plot.colormap.setup_colormap(config, configSectionName, suffix='')[source]¶ Set up a colormap from the registry
- Parameters
- Returns
colormapDict (dict) – A dictionary of colormap information.
’colormap’ specifies the name of the new colormap
’norm’ is a matplotlib norm object used to normalize the colormap
’levels’ is an array of contour levels or
Noneif not using indexed color map’ticks’ is an array of values where ticks should be placed
’contours’ is an array of contour values to plot or
Noneif none have been specified’lineWidth’ is the width of contour lines or
Noneif not specified’lineColor’ is the color of contour lines or
Noneif not specified