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

Skip to content

Commit 2d547e9

Browse files
committed
MNT: deprecate mlab
1 parent 8ee3a79 commit 2d547e9

File tree

2 files changed

+5
-1086
lines changed

2 files changed

+5
-1086
lines changed

lib/matplotlib/pyplot.py

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2330,13 +2330,8 @@ def angle_spectrum(
23302330

23312331
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
23322332
@_copy_docstring_and_deprecators(Axes.annotate)
2333-
def annotate(
2334-
text, xy, xytext=None, xycoords='data', textcoords=None,
2335-
arrowprops=None, annotation_clip=None, **kwargs):
2336-
return gca().annotate(
2337-
text, xy, xytext=xytext, xycoords=xycoords,
2338-
textcoords=textcoords, arrowprops=arrowprops,
2339-
annotation_clip=annotation_clip, **kwargs)
2333+
def annotate(text, xy, *args, **kwargs):
2334+
return gca().annotate(text, xy, *args, **kwargs)
23402335

23412336

23422337
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2432,7 +2427,7 @@ def boxplot(
24322427
showfliers=None, boxprops=None, labels=None, flierprops=None,
24332428
medianprops=None, meanprops=None, capprops=None,
24342429
whiskerprops=None, manage_ticks=True, autorange=False,
2435-
zorder=None, capwidths=None, *, data=None):
2430+
zorder=None, *, data=None):
24362431
return gca().boxplot(
24372432
x, notch=notch, sym=sym, vert=vert, whis=whis,
24382433
positions=positions, widths=widths, patch_artist=patch_artist,
@@ -2443,7 +2438,7 @@ def boxplot(
24432438
flierprops=flierprops, medianprops=medianprops,
24442439
meanprops=meanprops, capprops=capprops,
24452440
whiskerprops=whiskerprops, manage_ticks=manage_ticks,
2446-
autorange=autorange, zorder=zorder, capwidths=capwidths,
2441+
autorange=autorange, zorder=zorder,
24472442
**({"data": data} if data is not None else {}))
24482443

24492444

@@ -2900,16 +2895,14 @@ def streamplot(
29002895
x, y, u, v, density=1, linewidth=None, color=None, cmap=None,
29012896
norm=None, arrowsize=1, arrowstyle='-|>', minlength=0.1,
29022897
transform=None, zorder=None, start_points=None, maxlength=4.0,
2903-
integration_direction='both', broken_streamlines=True, *,
2904-
data=None):
2898+
integration_direction='both', *, data=None):
29052899
__ret = gca().streamplot(
29062900
x, y, u, v, density=density, linewidth=linewidth, color=color,
29072901
cmap=cmap, norm=norm, arrowsize=arrowsize,
29082902
arrowstyle=arrowstyle, minlength=minlength,
29092903
transform=transform, zorder=zorder, start_points=start_points,
29102904
maxlength=maxlength,
29112905
integration_direction=integration_direction,
2912-
broken_streamlines=broken_streamlines,
29132906
**({"data": data} if data is not None else {}))
29142907
sci(__ret.lines)
29152908
return __ret

0 commit comments

Comments
 (0)