You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
matplotlib.pyplot.axvspan, and respectively matplotlib.pyplot.Axes.axvspan still have the raw %(Polygon) on 3.3.3 and %(Polygon_kwdoc)s on master not interpolated in the docstring. As can be see here online or via matplotlib.pyplot.Axes.axvspan? in IPython.
%(Rectangle_kwdocs)s is also present in matplotlib.axes.Axes.indicate_inset as well.
A couple of other %(...) are detectable in other docstring but are either purposeful, or private AFAICT.
In addition a number of extra formatting seem to be done but are no-op, quick grep through source code:
Circle, Ellipses, Arc,... etc have no corresponding target, my guess is that this may contribute to import slowdown on matplotlib if each docstring formatting have to carry all this extra information.
Suggested Improvement
Fix matplotlib.axes.Axes.indicate_inset and axvspan to get properly formatted; not sure why they aren't. Maybe add a check in docstring.interpd and docstring.dedent_interpd to make sure there is no remaining %(...) after formatting ? and try to remove the unnecessary collection of format target.
Matplotlib version
Operating system: Mac OS, online docs
Matplotlib version: 3.3.3 and master branch
Matplotlib documentation version: 3.3.3
The text was updated successfully, but these errors were encountered:
Problem
matplotlib.pyplot.axvspan
, and respectivelymatplotlib.pyplot.Axes.axvspan
still have the raw%(Polygon)
on 3.3.3 and%(Polygon_kwdoc)s
on master not interpolated in the docstring. As can be seehere online or via
matplotlib.pyplot.Axes.axvspan?
in IPython.%(Rectangle_kwdocs)s
is also present in matplotlib.axes.Axes.indicate_inset as well.A couple of other
%(...)
are detectable in other docstring but are either purposeful, or private AFAICT.In addition a number of extra formatting seem to be done but are no-op, quick grep through source code:
...
Of which the following have no matching targets:
Note also the
docstring.interpd.update({f'{k}_kwdoc'
present in two files that loops over many values:Circle, Ellipses, Arc,... etc have no corresponding target, my guess is that this may contribute to import slowdown on matplotlib if each docstring formatting have to carry all this extra information.
Suggested Improvement
Fix matplotlib.axes.Axes.indicate_inset and axvspan to get properly formatted; not sure why they aren't. Maybe add a check in
docstring.interpd
anddocstring.dedent_interpd
to make sure there is no remaining%(...)
after formatting ? and try to remove the unnecessary collection of format target.Matplotlib version
The text was updated successfully, but these errors were encountered: