File tree Expand file tree <
C9E5
path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25H9.5v-13Zm12.5 13a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H11v13Z">Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
and for mapping numbers to colors in a 1-D array of colors called a colormap.
9
9
10
10
Mapping data onto colors using a colormap typically involves two steps: a data
11
- array is first mapped onto the range 0-1 using a subclass of `Normalize`,
12
- then this number is mapped to a color using a subclass of `Colormap`. Two
11
+ array is first mapped onto the range 0-1 using a subclass of `Normalize`, then
12
+ this number is mapped to a color using a subclass of `Colormap`. Two
13
13
subclasses of `Colormap` provided here: `LinearSegmentedColormap`, which uses
14
14
piecewise-linear interpolation to define colormaps, and `ListedColormap`, which
15
15
makes a colormap from a list of colors.
You can’t perform that action at this time.
0 commit comments