Skip to content

Commit 91283ec

Browse files
author
Phil Elson
committed
Fixed call signature typos.
1 parent fbbf5bb commit 91283ec

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/matplotlib/axes.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -4197,8 +4197,8 @@ def xcorr(self, x, y, normed=True, detrend=mlab.detrend_none,
41974197
"""
41984198
Call signature::
41994199
4200-
def xcorr(self, x, y, normed=True, detrend=mlab.detrend_none,
4201-
usevlines=True, maxlags=10, **kwargs):
4200+
xcorr(self, x, y, normed=True, detrend=mlab.detrend_none,
4201+
usevlines=True, maxlags=10, **kwargs)
42024202
42034203
Plot the cross correlation between *x* and *y*. If *normed* =
42044204
*True*, normalize the data by the cross correlation at 0-th
@@ -7485,7 +7485,7 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
74857485
"""
74867486
Call signature::
74877487
7488-
def hist(x, bins=10, range=None, normed=False, weights=None,
7488+
hist(x, bins=10, range=None, normed=False, weights=None,
74897489
cumulative=False, bottom=None, histtype='bar', align='mid',
74907490
orientation='vertical', rwidth=None, log=False,
74917491
color=None, label=None,

lib/matplotlib/figure.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ def text(self, x, y, s, *args, **kwargs):
10141014
"""
10151015
Call signature::
10161016
1017-
figtext(x, y, s, fontdict=None, **kwargs)
1017+
text(x, y, s, fontdict=None, **kwargs)
10181018
10191019
Add text to figure at location *x*, *y* (relative 0-1
10201020
coords). See :func:`~matplotlib.pyplot.text` for the meaning
@@ -1089,7 +1089,7 @@ def add_axobserver(self, func):
10891089

10901090
def savefig(self, *args, **kwargs):
10911091
"""
1092-
call signature::
1092+
Call signature::
10931093
10941094
savefig(fname, dpi=None, facecolor='w', edgecolor='w',
10951095
orientation='portrait', papertype=None, format=None,
@@ -1223,7 +1223,7 @@ def subplots_adjust(self, *args, **kwargs):
12231223
"""
12241224
Call signature::
12251225
1226-
fig.subplots_adjust(left=None, bottom=None, right=None, top=None,
1226+
subplots_adjust(left=None, bottom=None, right=None, top=None,
12271227
wspace=None, hspace=None)
12281228
12291229
Update the :class:`SubplotParams` with *kwargs* (defaulting to rc when

0 commit comments

Comments
 (0)