8000 Merge pull request #22067 from meeseeksmachine/auto-backport-of-pr-22… · meeseeksmachine/matplotlib@046507e · GitHub
[go: up one dir, main page]

Skip to content

Commit 046507e

Browse files
authored
Merge pull request matplotlib#22067 from meeseeksmachine/auto-backport-of-pr-22064-on-v3.5.x
Backport PR matplotlib#22064 on branch v3.5.x (DOC: Clarify y parameter in Axes.set_title)
2 parents 5212b11 + 7d91b7a commit 046507e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ def set_title(self, label, fontdict=None, loc=None, pad=None, *, y=None,
119119
120120
y : float, default: :rc:`axes.titley`
121121
Vertical Axes loation for the title (1.0 is the top). If
122-
None (the default), y is determined automatically to avoid
123-
decorators on the Axes.
122+
None (the default) and :rc:`axes.titley` is also None, y is
123+
determined automatically to avoid decorators on the Axes.
124124
125125
pad : float, default: :rc:`axes.titlepad`
126126
The offset of the title from the top of the Axes, in points.

0 commit comments

Comments
 (0)
0