GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing matplotlib.org — matplotlib.colors — Matplotlib 3.1.2 documentation You are reading an old version of the documentation (v3.1.1). For the latest version see https://matplotlib.org/stable/api/colors_api.html
|
BoundaryNorm(boundaries, ncolors[, clip]) |
Generate a colormap index based on discrete intervals. |
Colormap(name[, N]) |
Baseclass for all scalar to RGBA mappings. |
DivergingNorm(vcenter[, vmin, vmax]) |
Normalize data with a set center. |
LightSource([azdeg, altdeg, hsv_min_val, ...]) |
Create a light source coming from the specified azimuth and elevation. |
LinearSegmentedColormap(name, segmentdata[, ...]) |
Colormap objects based on lookup tables using linear segments. |
ListedColormap(colors[, name, N]) |
Colormap object generated from a list of colors. |
LogNorm([vmin, vmax, clip]) |
Normalize a given value to the 0-1 range on a log scale. |
NoNorm([vmin, vmax, clip]) |
Dummy replacement for Normalize, for the case where we want to use indices directly in a ScalarMappable. |
Normalize([vmin, vmax, clip]) |
A class which, when called, can normalize data into the [0.0, 1.0] interval. |
PowerNorm(gamma[, vmin, vmax, clip]) |
Linearly map a given value to the 0-1 range and then apply a power-law normalization over that range. |
SymLogNorm(linthresh[, linscale, vmin, ...]) |
The symmetrical logarithmic scale is logarithmic in both the positive and negative directions from the origin. |
from_levels_and_colors(levels, colors[, extend]) |
A helper routine to generate a cmap and a norm instance which behave similar to contourf's levels and colors arguments. |
hsv_to_rgb(hsv) |
Convert hsv values to rgb. |
rgb_to_hsv(arr) |
Convert float rgb values (in the range [0, 1]), in a numpy array to hsv values. |
to_hex(c[, keep_alpha]) |
Convert c to a hex color. |
to_rgb(c) |
Convert c to an RGB color, silently dropping the alpha channel. |
to_rgba(c[, alpha]) |
Convert c to an RGBA color. |
to_rgba_array(c[, alpha]) |
Convert c to a (n, 4) array of RGBA colors. |
is_color_like(c) |
Return whether c can be interpreted as an RGB(A) color. |
makeMappingArray(N, data[, gamma]) |
Create an N -element 1-d lookup table. |
get_named_colors_mapping() |
Return the global mapping of names to named colors. |