Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a686716

Browse filesBrowse files
committed
Add xaxis and yaxis attributes to Axes docs
1 parent 773096e commit a686716
Copy full SHA for a686716

File tree

2 files changed

+8
-0
lines changed
Filter options

2 files changed

+8
-0
lines changed

‎doc/api/axes_api.rst

Copy file name to clipboardExpand all lines: doc/api/axes_api.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ Axis / limits
274274
:template: autosummary.rst
275275
:nosignatures:
276276

277+
Axes.xaxis
278+
Axes.yaxis
277279
Axes.get_xaxis
278280
Axes.get_yaxis
279281

‎lib/matplotlib/axes/_base.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
+6Lines 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+
xaxis: maxis.XAxis
570+
"""The x-axis."""
571+
572+
yaxis: maxis.YAxis
573+
"""The y-axis."""
574+
569575
@property
570576
def _axis_map(self):
571577
"""A mapping of axis names, e.g. 'x', to `Axis` instances."""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.