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

Skip to content

Commit ca393ec

Browse files
committed
FIX
1 parent 5798841 commit ca393ec

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

lib/matplotlib/pyplot.py

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

23262326
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
23272327
@_copy_docstring_and_deprecators(Axes.annotate)
2328-
def annotate(text, xy, *args, **kwargs):
2329-
return gca().annotate(text, xy, *args, **kwargs)
2328+
def annotate(
2329+
text, xy, xytext=None, xycoords='data', textcoords=None,
2330+
arrowprops=None, annotation_clip=None, **kwargs):
2331+
return gca().annotate(
2332+
text, xy, xytext=xytext, xycoords=xycoords,
2333+
textcoords=textcoords, arrowprops=arrowprops,
2334+
annotation_clip=annotation_clip, **kwargs)
23302335

23312336

23322337
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2422,7 +2427,7 @@ def boxplot(
24222427
showfliers=None, boxprops=None, labels=None, flierprops=None,
24232428
medianprops=None, meanprops=None, capprops=None,
24242429
whiskerprops=None, manage_ticks=True, autorange=False,
2425-
zorder=None, *, data=None):
2430+
zorder=None, capwidths=None, *, data=None):
24262431
return gca().boxplot(
24272432
x, notch=notch, sym=sym, vert=vert, whis=whis,
24282433
positions=positions, widths=widths, patch_artist=patch_artist,
@@ -2433,7 +2438,7 @@ def boxplot(
24332438
flierprops=flierprops, medianprops=medianprops,
24342439
meanprops=meanprops, capprops=capprops,
24352440
whiskerprops=whiskerprops, manage_ticks=manage_ticks,
2436-
autorange=autorange, zorder=zorder,
2441+
autorange=autorange, zorder=zorder, capwidths=capwidths,
24372442
**({"data": data} if data is not None else {}))
24382443

24392444

@@ -2890,14 +2895,16 @@ def streamplot(
28902895
x, y, u, v, density=1, linewidth=None, color=None, cmap=None,
28912896
norm=None, arrowsize=1, arrowstyle='-|>', minlength=0.1,
28922897
transform=None, zorder=None, start_points=None, maxlength=4.0,
2893-
integration_direction='both', *, data=None):
2898+
integration_direction='both', broken_streamlines=True, *,
2899+
data=None):
28942900
__ret = gca().streamplot(
28952901
x, y, u, v, density=density, linewidth=linewidth, color=color,
28962902
cmap=cmap, norm=norm, arrowsize=arrowsize,
28972903
arrowstyle=arrowstyle, minlength=minlength,
28982904
transform=transform, zorder=zorder, start_points=start_points,
28992905
maxlength=maxlength,
29002906
integration_direction=integration_direction,
2907+
broken_streamlines=broken_streamlines,
29012908
**({"data": data} if data is not None else {}))
29022909
sci(__ret.lines)
29032910
return __ret

0 commit comments

Comments
 (0)