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

Skip to content

Commit d861321

Browse files
committed
Clarify horizontalalignment and verticalalignment in suptitle
1 parent a2d2b80 commit d861321

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/figure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,11 +685,11 @@ def suptitle(self, t, **kwargs):
685685
The y location of the text in figure coordinates.
686686
687687
horizontalalignment, ha : {'center', 'left', right'}, default: 'center'
688-
The horizontal alignment of the text.
688+
The horizontal alignment of the text relative to (*x*, *y*).
689689
690690
verticalalignment, va : {'top', 'center', 'bottom', 'baseline'}, \
691691
default: 'top'
692-
The vertical alignment of the text.
692+
The vertical alignment of the text relative to (*x*, *y*).
693693
694694
fontsize, size : default: :rc:`figure.titlesize`
695695
The font size of the text. See `.Text.set_size` for possible

0 commit comments

Comments
 (0)