8000 Backport PR #15364: DOC: fix typo in colormap docs · matplotlib/matplotlib@cb0a742 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cb0a742

Browse files
timhoffmMeeseeksDev[bot]
authored andcommitted
Backport PR #15364: DOC: fix typo in colormap docs
1 parent 05956d3 commit cb0a742

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tutorials/colors/colormapnorms.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
case).
1313
1414
Matplotlib does this mapping in two steps, with a normalization from
15-
[0, 1] occurring first, and then mapping onto the indices in the
16-
colormap. Normalizations are classes defined in the
17-
:func:`matplotlib.colors` module. The default, linear normalization is
18-
:func:`matplotlib.colors.Normalize`.
15+
the input data to [0, 1] occurring first, and then mapping onto the
16+
indices in the colormap. Normalizations are classes defined in the
17+
:func:`matplotlib.colors` module. The default, linear normalization
18+
is :func:`matplotlib.colors.Normalize`.
1919
2020
Artists that map data to color pass the arguments *vmin* and *vmax* to
2121
construct a :func:`matplotlib.colors.Normalize` instance, then call it:
@@ -41,6 +41,7 @@
4141
:math:`log_{10}`. In the example below, there are two bumps, one much smaller
4242
than the other. Using `.colors.LogNorm`, the shape and location of each bump
4343
can clearly be seen:
44+
4445
"""
4546
import numpy as np
4647
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)
0