Skip to content

Commit 269ace9

Browse files
committed
MNT: Touch up rebase to use 'register' for docstring interpolations
1 parent c3cad60 commit 269ace9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/colorizer.py

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy