matplotlib 3.5.1

BackRef

Typically, Colormap instances are used to convert data values (floats) from the interval [0, 1] to the RGBA color that the respective Colormap represents. For scaling of data into the [0, 1] interval see matplotlib.colors.Normalize . Subclasses of matplotlib.cm.ScalarMappable make heavy use of this data -> normalize -> map-to-color processing chain.

Baseclass for all scalar to RGBA mappings.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

matplotlib

57 Elements
matplotlib.axes._axes.Axes.fill_between
matplotlib.pyplot.hist2d
matplotlib.axes._axes.Axes.broken_barh
matplotlib.artist.RegularPolyCollection.set
matplotlib.artist.AxesImage.set
matplotlib.artist.Barbs.set
matplotlib.artist.LineCollection.set
matplotlib.artist.PolyCollection.set
matplotlib.axes._axes.Axes.contour
matplotlib.artist.AsteriskPolygonCollection.set
matplotlib.artist.QuadMesh.set
matplotlib.axes._axes.Axes.pcolormesh
matplotlib.axes._axes.Axes.quiver
matplotlib.pyplot.pcolor
matplotlib.pyplot.contourf
matplotlib.artist.BrokenBarHCollection.set
matplotlib.artist._CollectionWithSizes.set
matplotlib.pyplot.fill_between
matplotlib.cm.ScalarMappable.get_cmap
matplotlib.axes._axes.Axes.scatter
matplotlib.pyplot.tricontour
matplotlib.artist._ImageBase.set
matplotlib.colors.LightSource.shade
matplotlib.artist.BboxImage.set
matplotlib.artist.PathCollection.set
matplotlib.artist.EventCollection.set
matplotlib.axes._axes.Axes.barbs
matplotlib.pyplot.fill_betweenx
matplotlib.artist.StarPolygonCollection.set
matplotlib.axes._axes.Axes.contourf
matplotlib.artist.PcolorImage.set
matplotlib.axes._axes.Axes.hist2d
matplotlib.artist.CircleCollection.set
matplotlib.artist.PatchCollection.set
matplotlib.quiver.Quiver.__init__
matplotlib.axes._axes.Axes.hexbin
matplotlib.pyplot.quiver
matplotlib.tri.tricontour.tricontourf
matplotlib.pyplot.broken_barh
matplotlib.cm.get_cmap
matplotlib.artist.EllipseCollection.set
matplotlib.axes._axes.Axes.fill_betweenx
matplotlib.axes._axes.Axes.pcolor
matplotlib.pyplot.barbs
matplotlib.quiver.Barbs.__init__
matplotlib.pyplot.scatter
matplotlib.pyplot.pcolormesh
matplotlib.artist.Collection.set
matplotlib.artist.FigureImage.set
matplotlib.pyplot.hexbin
matplotlib.artist.TriMesh.set
matplotlib.tri.tricontour.tricontour
matplotlib.cm.ColormapRegistry
matplotlib.pyplot.tricontourf
matplotlib.pyplot.contour
matplotlib.colors
matplotlib.artist.Quiver.set

Local connectivity graph

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


File: /matplotlib/colors.py#553
type: <class 'type'>
Commit: