Skip to content

Commit 604b2b0

Browse files
committed
FIX
1 parent 3d0b2e3 commit 604b2b0

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
@@ -2330,8 +2330,13 @@ 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(text, xy, *args, **kwargs):
2334-
return gca().annotate(text, xy, *args, **kwargs)
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)
23352340

23362341

23372342
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
@@ -2427,7 +2432,7 @@ def boxplot(
24272432
showfliers=None, boxprops=None, labels=None, flierprops=None,
24282433
medianprops=None, meanprops=None, capprops=None,
24292434
whiskerprops=None, manage_ticks=True, autorange=False,
2430-
zorder=None, *, data=None):
2435+
zorder=None, capwidths=None, *, data=None):
24312436
return gca().boxplot(
24322437
x, notch=notch, sym=sym, vert=vert, whis=whis,
24332438
positions=positions, widths=widths, patch_artist=patch_artist,
@@ -2438,7 +2443,7 @@ def boxplot(
24382443
flierprops=flierprops, medianprops=medianprops,
24392444
meanprops=meanprops, capprops=capprops,
24402445
whiskerprops=whiskerprops, manage_ticks=manage_ticks,
2441-
autorange=autorange, zorder=zorder,
2446+
autorange=autorange, zorder=zorder, capwidths=capwidths,
24422447
**({"data": data} if data is not None else {}))
24432448

24442449

@@ -2895,14 +2900,16 @@ def streamplot(
28952900
x, y, u, v, density=1, linewidth=None, color=None, cmap=None,
28962901
norm=None, arrowsize=1, arrowstyle='-|>', minlength=0.1,
28972902
transform=None, zorder=None, start_points=None, maxlength=4.0,
2898-
integration_direction='both', *, data=None):
2903+
integration_direction='both', broken_streamlines=True, *,
2904+
data=None):
28992905
__ret = gca().streamplot(
29002906
x, y, u, v, density=density, linewidth=linewidth, color=color,
29012907
cmap=cmap, norm=norm, arrowsize=arrowsize,
29022908
arrowstyle=arrowstyle, minlength=minlength,
29032909
transform=transform, zorder=zorder, start_points=start_points,
29042910
maxlength=maxlength,
29052911
integration_direction=integration_direction,
2912+
broken_streamlines=broken_streamlines,
29062913
**({"data": data} if data is not None else {}))
29072914
sci(__ret.lines)
29082915
return __ret

0 commit comments

Comments
 (0)