Skip to content

Commit ce91be4

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

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)