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

Skip to content

Commit e5d65c7

Browse files
committed
Merged revisions 7808 via svnmerge from
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_99_maint ........ r7808 | ryanmay | 2009-09-21 11:30:11 -0500 (Mon, 21 Sep 2009) | 1 line Correct typo of subtitle() -> suptitle(). ........ svn path=/trunk/matplotlib/; revision=7812
1 parent de8369b commit e5d65c7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@
981981
2008-06-05 Fix image drawing so there is no extra space to the right
982982
or bottom - MGD
983983

984-
2006-06-04 Added a figure title command subtitle as a Figure method
984+
2006-06-04 Added a figure title command suptitle as a Figure method
985985
and pyplot command -- see examples/figure_title.py - JDH
986986

987987
2008-06-02 Added support for log to hist with histtype='step' and fixed

lib/matplotlib/figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def suptitle(self, t, **kwargs):
300300
301301
Example::
302302
303-
fig.subtitle('this is the figure title', fontsize=12)
303+
fig.suptitle('this is the figure title', fontsize=12)
304304
"""
305305
x = kwargs.pop('x', 0.5)
306306
y = kwargs.pop('y', 0.98)

0 commit comments

Comments
 (0)