andrey.viz.mpl.cmap#
- andrey.viz.mpl.cmap(dark=False, name=None)[source]#
Return the sequential cobalt colormap for heatmaps, weights, and densities.
This is the confidence ramp: reach for it whenever a value is ordered (edge stability, an adjacency weight, a density), and for
cycle()when it is categorical.- Parameters:
- Returns:
The ramp, interpolated from the palette’s five cobalt stops.
- Return type:
- Raises:
ModuleNotFoundError – If matplotlib is not installed. Install the extra:
pip install 'andrey-core[viz]'.