get_cmap(name=None, lut=None)
Colormaps added with register_cmap
take precedence over built-in colormaps.
Currently, this returns the global colormap object, which is deprecated. In Matplotlib 3.5, you will no longer be able to modify the global colormaps in-place.
If a .Colormap
instance, it will be returned. Otherwise, the name of a colormap known to Matplotlib, which will be resampled by lut. The default, None, means image.cmap
.
If name is not already a Colormap instance and lut is not None, the colormap will be resampled to have lut entries in the lookup table.
Get a colormap instance, defaulting to rc values if name is None.
The following pages refer to to this document either explicitly or contain code examples using this.
matplotlib.pyplot.set_cmap
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them