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

Skip to content

Commit 969919b

Browse files
committed
Rebase branch with upsteram
1 parent 9cf91e3 commit 969919b

File tree

1 file changed

+27
-45
lines changed

1 file changed

+27
-45
lines changed

lib/matplotlib/pyplot.py

Lines changed: 27 additions & 45 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(text, xy, *args, **kwargs):
2383-
return gca().annotate(text, xy, *args, **kwargs)
2382+
def annotate(*args, **kwargs):
2383+
return gca().annotate(*args, **kwargs)
23842384

23852385

23862386
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2427,12 +2427,10 @@ 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(
2431-
x, height, width=0.8, bottom=None, *, align='center',
2432-
data=None, **kwargs):
2430+
def bar(*args, data=None, **kwargs):
24332431
return gca().bar(
2434-
x, height, width=width, bottom=bottom, align=align,
2435-
**({"data": data} if data is not None else {}), **kwargs)
2432+
*args, **({"data": data} if data is not None else {}),
2433+
**kwargs)
24362434

24372435

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

24452443
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
24462444
@docstring.copy_dedent(Axes.barh)
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)
2445+
def barh(*args, **kwargs):
2446+
return gca().barh(*args, **kwargs)
24502447

24512448

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

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

27162713

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

27292726
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
27302727
@_autogen_docstring(Axes.pcolor)
2731-
def pcolor(
2732-
*args, alpha=None, norm=None, cmap=None, vmin=None,
2733-
vmax=None, data=None, **kwargs):
2728+
def pcolor(*args, data=None, **kwargs):
27342729
__ret = gca().pcolor(
2735-
*args, alpha=alpha, norm=norm, cmap=cmap, vmin=vmin,
2736-
vmax=vmax, **({"data": data} if data is not None else {}),
2730+
*args, **({"data": data} if data is not None else {}),
27372731
**kwargs)
27382732
sci(__ret)
27392733
return __ret
27402734

27412735

27422736
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
27432737
@_autogen_docstring(Axes.pcolormesh)
2744-
def pcolormesh(
2745-
*args, alpha=None, norm=None, cmap=None, vmin=None,
2746-
vmax=None, shading='flat', antialiased=False, data=None,
2747-
**kwargs):
2738+
def pcolormesh(*args, data=None, **kwargs):
27482739
__ret = gca().pcolormesh(
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)
2740+
*args, **({"data": data} if data is not None else {}),
2741+
**kwargs)
27522742
sci(__ret)
27532743
return __ret
27542744

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

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

27912781

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

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

28292819

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

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

29042891

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

29122899

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

29502937
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
29512938
@docstring.copy_dedent(Axes.ticklabel_format)
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)
2939+
def ticklabel_format(**kwargs):
2940+
return gca().ticklabel_format(**kwargs)
29592941

29602942

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

0 commit comments

Comments
 (0)