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
{{ message }}
Repository navigation
[Doc]: object description for "spines"of matplot.axes.Axes not found #29964
I found the documentation of object "spines" of matplot.axes.Axes not clear enough. On the homepage of matplot.axes.Axes there is no link to this description.
Activity
rcomer commentedon Apr 25, 2025
If it were to link, it would link here: https://matplotlib.org/stable/api/spines_api.html#matplotlib.spines.Spines
axes.spinesis an attribute added in instantiation, so I do not think we can hang a docstring off it as-is. Perhaps it should instead be a property?matplotlib/lib/matplotlib/axes/_base.py
Line 701 in 3d34092
timhoffm commentedon Apr 25, 2025
Property oder type annotation works. Both variants are used in https://github.com/matplotlib/matplotlib/pull/28825/files.