Skip to content

Commit 45bddd4

Browse files
authored
Merge pull request matplotlib#22239 from StefRe/patch-1
Fix typos
2 parents ea3b715 + f7e4349 commit 45bddd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ def set_position(self, pos, which='both'):
10391039
Parameters
10401040
----------
10411041
pos : [left, bottom, width, height] or `~matplotlib.transforms.Bbox`
1042-
The new position of the in `.Figure` coordinates.
1042+
The new position of the Axes in `.Figure` coordinates.
10431043
10441044
which : {'both', 'active', 'original'}, default: 'both'
10451045
Determines which position variables to change.
@@ -1058,7 +1058,7 @@ def _set_position(self, pos, which='both'):
10581058
"""
10591059
Private version of set_position.
10601060
1061-
Call this internally to get the same functionality of `get_position`,
1061+
Call this internally to get the same functionality of `set_position`,
10621062
but not to take the axis out of the constrained_layout hierarchy.
10631063
"""
10641064
if not isinstance(pos, mtransforms.BboxBase):

0 commit comments

Comments
 (0)