rcatool.plot.colors.getcolormap
- rcatool.plot.colors.getcolormap(cmap_name, custom=False)[source]
Function to retrieve colormap, either customized (custom=True) or available through Matplotlib predefined colormaps.
- Parameters:
cmap_name (string) – String, giving name of colormap to be retrieved.
custom (Boolean) – Logical indicating self-produced (custom=True) or Matplotlib colormap.
- Returns:
cmap
- Return type:
Matplotlib colormap object