From 87b3b72976f2ca13ff4369c8b055b3aa384591cf Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Tue, 15 Sep 2020 22:06:41 +0200 Subject: [PATCH] Fix doc build failure due to #18440 #18440 removed the dedent_intepd function and replaced it with a `Substitution` instance. API-wise this is transparent, but we cannot reference `detent_interpd` in Sphinx docs any more. This PR changes the only reference to a literal. --- doc/devel/documenting_mpl.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/devel/documenting_mpl.rst b/doc/devel/documenting_mpl.rst index 575641a4c53d..915e6a0172e5 100644 --- a/doc/devel/documenting_mpl.rst +++ b/doc/devel/documenting_mpl.rst @@ -687,7 +687,7 @@ are: are updated automatically. The function `matplotlib.artist.kwdoc` and the decorator -`matplotlib.docstring.dedent_interpd` facilitate this. They combine Python +``matplotlib.docstring.dedent_interpd`` facilitate this. They combine Python string interpolation in the docstring with the Matplotlib artist introspection facility that underlies ``setp`` and ``getp``. The ``kwdoc`` function gives the list of properties as a docstring. In order to use this in another