8000 Backport PR #29965: Document Axes.spines · matplotlib/matplotlib@a7f5ce6 · GitHub
[go: up one dir, main page]

Skip to content

Commit a7f5ce6

Browse files
jklymakmeeseeksmachine
authored andcommitted
Backport PR #29965: Document Axes.spines
1 parent 9a80304 commit a7f5ce6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

doc/api/axes_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Attributes
3838

3939
Axes.viewLim
4040
Axes.dataLim
41+
Axes.spines
4142

4243
Plotting
4344
========

lib/matplotlib/axes/_base.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,12 @@ class _AxesBase(martist.Artist):
566566
dataLim: mtransforms.Bbox
567567
"""The bounding `.Bbox` enclosing all data displayed in the Axes."""
568568

569+
spines: mspines.Spines
570+
"""
571+
The `.Spines` container for the Axes' spines, i.e. the lines denoting the
572+
data area boundaries.
573+
"""
574+
569575
xaxis: maxis.XAxis
570576
"""
571577
The `.XAxis` instance.

0 commit comments

Comments
 (0)
0