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

Skip to content

Commit daac754

Browse files
committed
regenerate pyplot
1 parent 0d036d0 commit daac754

File tree

1 file changed

+45
-27
lines changed

1 file changed

+45
-27
lines changed

lib/matplotlib/pyplot.py

Lines changed: 45 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2379,8 +2379,8 @@ def angle_spectrum(
23792379

23802380
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
23812381
@docstring.copy_dedent(Axes.annotate)
2382-
def annotate(*args, **kwargs):
2383-
return gca().annotate(*args, **kwargs)
2382+
def annotate(s, xy, *args, **kwargs):
2383+
return gca().annotate(s, xy, *args, **kwargs)
23842384

23852385

23862386
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2427,10 +2427,12 @@ def axvspan(xmin, xmax, ymin=0, ymax=1, **kwargs):
24272427

24282428
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
24292429
@docstring.copy_dedent(Axes.bar)
2430-
def bar(*args, data=None, **kwargs):
2430+
def bar(
2431+
x, height, width=0.8, bottom=None, *, align='center',
2432+
data=None, **kwargs):
24312433
return gca().bar(
2432-
*args, **({"data": data} if data is not None else {}),
2433-
**kwargs)
2434+
x, height, width=width, bottom=bottom, align=align,
2435+
**({"data": data} if data is not None else {}), **kwargs)
24342436

24352437

24362438
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2442,8 +2444,9 @@ def barbs(*args, data=None, **kw):
24422444

24432445
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
24442446
@docstring.copy_dedent(Axes.barh)
2445-
def barh(*args, **kwargs):
2446-
return gca().barh(*args, **kwargs)
2447+
def barh(y, width, height=0.8, left=None, *, align='center', **kwargs):
2448+
return gca().barh(
2449+
y, width, height=height, left=left, align=align, **kwargs)
24472450

24482451

24492452
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2707,8 +2710,8 @@ def magnitude_spectrum(
27072710

27082711
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
27092712
@docstring.copy_dedent(Axes.margins)
2710-
def margins(*args, **kw):
2711-
return gca().margins(*args, **kw)
2713+
def margins(*margins, x=None, y=None, tight=True):
2714+
return gca().margins(*margins, x=x, y=y, tight=tight)
27122715

27132716

27142717
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2725,20 +2728,27 @@ def minorticks_on():
27252728

27262729
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
27272730
@_autogen_docstring(Axes.pcolor)
2728-
def pcolor(*args, data=None, **kwargs):
2731+
def pcolor(
2732+
*args, alpha=None, norm=None, cmap=None, vmin=None,
2733+
vmax=None, data=None, **kwargs):
27292734
__ret = gca().pcolor(
2730-
*args, **({"data": data} if data is not None else {}),
2735+
*args, alpha=alpha, norm=norm, cmap=cmap, vmin=vmin,
2736+
vmax=vmax, **({"data": data} if data is not None else {}),
27312737
**kwargs)
27322738
sci(__ret)
27332739
return __ret
27342740

27352741

27362742
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
27372743
@_autogen_docstring(Axes.pcolormesh)
2738-
def pcolormesh(*args, data=None, **kwargs):
2744+
def pcolormesh(
2745+
*args, alpha=None, norm=None, cmap=None, vmin=None,
2746+
vmax=None, shading='flat', antialiased=False, data=None,
2747+
**kwargs):
27392748
__ret = gca().pcolormesh(
2740-
*args, **({"data": data} if data is not None else {}),
2741-
**kwargs)
2749+
*args, alpha=alpha, norm=norm, cmap=cmap, vmin=vmin,
2750+
vmax=vmax, shading=shading, antialiased=antialiased,
2751+
**({"data": data} if data is not None else {}), **kwargs)
27422752
sci(__ret)
27432753
return __ret
27442754

@@ -2773,10 +2783,10 @@ def pie(
27732783

27742784
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
27752785
@docstring.copy_dedent(Axes.plot)
2776-
def plot(*args, data=None, **kwargs):
2786+
def plot(*args, scalex=True, scaley=True, data=None, **kwargs):
27772787
return gca().plot(
2778-
*args, **({"data": data} if data is not None else {}),
2779-
**kwargs)
2788+
*args, scalex=scalex, scaley=scaley, **({"data": data} if data
2789+
is not None else {}), **kwargs)
27802790

27812791

27822792
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2813,8 +2823,8 @@ def quiver(*args, data=None, **kw):
28132823

28142824
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
28152825
@docstring.copy_dedent(Axes.quiverkey)
2816-
def quiverkey(*args, **kw):
2817-
return gca().quiverkey(*args, **kw)
2826+
def quiverkey(Q, X, Y, U, label, **kw):
2827+
return gca().quiverkey(Q, X, Y, U, label, **kw)
28182828

28192829

28202830
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2883,18 +2893,21 @@ def stackplot(x, *args, data=None, **kwargs):
28832893

28842894
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
28852895
@docstring.copy_dedent(Axes.stem)
2886-
def stem(*args, data=None, **kwargs):
2896+
def stem(
2897+
*args, linefmt=None, markerfmt=None, basefmt=None, bottom=0,
2898+
label=None, data=None):
28872899
return gca().stem(
2888-
*args, **({"data": data} if data is not None else {}),
2889-
**kwargs)
2900+
*args, linefmt=linefmt, markerfmt=markerfmt, basefmt=basefmt,
2901+
bottom=bottom, label=label, **({"data": data} if data is not
2902+
None else {}))
28902903

28912904

28922905
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
28932906
@docstring.copy_dedent(Axes.step)
2894-
def step(x, y, *args, data=None, **kwargs):
2907+
def step(x, y, *args, where='pre', data=None, **kwargs):
28952908
return gca().step(
2896-
x, y, *args, **({"data": data} if data is not None else {}),
2897-
**kwargs)
2909+
x, y, *args, where=where, **({"data": data} if data is not
2910+
None else {}), **kwargs)
28982911

28992912

29002913
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2936,8 +2949,13 @@ def tick_params(axis='both', **kwargs):
29362949

29372950
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
29382951
@docstring.copy_dedent(Axes.ticklabel_format)
2939-
def ticklabel_format(**kwargs):
2940-
return gca().ticklabel_format(**kwargs)
2952+
def ticklabel_format(
2953+
*, axis='both', style='', scilimits=None, useOffset=None,
2954+
useLocale=None, useMathText=None):
2955+
return gca().ticklabel_format(
2956+
axis=axis, style=style, scilimits=scilimits,
2957+
useOffset=useOffset, useLocale=useLocale,
2958+
useMathText=useMathText)
29412959

29422960

29432961
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

0 commit comments

Comments
 (0)