Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Backport PR #29965 on branch v3.10.x (Document Axes.spines) #29969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/api/axes_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Attributes

Axes.viewLim
Axes.dataLim
Axes.spines

Plotting
========
Expand Down
6 changes: 6 additions & 0 deletions lib/matplotlib/axes/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,12 @@ class _AxesBase(martist.Artist):
dataLim: mtransforms.Bbox
"""The bounding `.Bbox` enclosing all data displayed in the Axes."""

spines: mspines.Spines
"""
The `.Spines` container for the Axes' spines, i.e. the lines denoting the
data area boundaries.
"""

xaxis: maxis.XAxis
"""
The `.XAxis` instance.
Expand Down
Loading