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

Skip to content

Commit 0da003e

Browse files
committed
Fix axes -> Axes changes in figure.py
1 parent 4d2ee90 commit 0da003e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/figure.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class _AxesStack(cbook.Stack):
5656
Specialization of `.Stack`, to handle all tracking of `~.axes.Axes` in a
5757
`.Figure`.
5858
59-
This stack stores ``key, (ind, Axes)`` pairs, where:
59+
This stack stores ``key, (ind, axes)`` pairs, where:
6060
6161
* **key** is a hash of the args and kwargs used in generating the Axes.
6262
* **ind** is a serial index tracking the order in which Axes were added.
@@ -141,7 +141,7 @@ def add(self, key, a):
141141

142142
def current_key_axes(self):
143143
"""
144-
Return a tuple of ``(key, Axes)`` for the active Axes.
144+
Return a tuple of ``(key, axes)`` for the active Axes.
145145
146146
If no Axes exists on the stack, then returns ``(None, None)``.
147147
"""
@@ -295,7 +295,7 @@ def autofmt_xdate(
295295
"""
296296
Date ticklabels often overlap, so it is useful to rotate them
297297
and right align them. Also, a common use case is a number of
298-
subplots with shared x-axes where the x-axis is date data. The
298+
subplots with shared x-axis where the x-axis is date data. The
299299
ticklabels are often long, and it helps to rotate them on the
300300
bottom subplot and turn them off on other subplots, as well as
301301
turn off xlabels.

0 commit comments

Comments
 (0)