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 ce91be4

Browse filesBrowse files
committed
MNT: Touch up rebase to use 'register' for docstring interpolations
1 parent b680e11 commit ce91be4
Copy full SHA for ce91be4

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎lib/matplotlib/colorizer.py

Copy file name to clipboardExpand all lines: lib/matplotlib/colorizer.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from matplotlib import _api, colors, cbook, scale, artist
2828
import matplotlib as mpl
2929

30-
mpl._docstring.interpd.update(
30+
mpl._docstring.interpd.register(
3131
colorizer_doc="""\
3232
colorizer : `~matplotlib.colorizer.Colorizer` or None, default: None
3333
The Colorizer object used to map color to data. If None, a Colorizer
@@ -599,7 +599,7 @@ def _get_colorizer(cmap, norm, colorizer):
599599
return Colorizer(cmap, norm)
600600

601601
# The docstrings here must be generic enough to apply to all relevant methods.
602-
mpl._docstring.interpd.update(
602+
mpl._docstring.interpd.register(
603603
cmap_doc="""\
604604
cmap : str or `~matplotlib.colors.Colormap`, default: :rc:`image.cmap`
605605
The Colormap instance or registered colormap name used to map scalar data

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.