Skip to content

Commit 88ea09b

Browse files
authored
Merge pull request #22064 from StefRe/doc/set_title
DOC: Clarify y parameter in Axes.set_title
2 parents ac2a145 + af83f65 commit 88ea09b

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)