@@ -70,9 +70,10 @@ def streamplot(axes, x, y, u, v, density=1, linewidth=None, color=None,
7070 Integrate the streamline in forward, backward or both directions.
7171 data : indexable object, optional
7272 DATA_PARAMETER_PLACEHOLDER
73- broken_streamlines : If False, forces streamlines to continue until they
73+ broken_streamlines : boolean, default: True
74+ If False, forces streamlines to continue until they
7475 leave the plot domain. If True, they may be terminated if they
75- come too close to another streamline. Default is True.
76+ come too close to another streamline.
7677
7778 Returns
7879 -------
@@ -482,13 +483,15 @@ def integrate(x0, y0, broken_streamlines=True):
482483 except InvalidIndexError :
483484 return None
484485 if integration_direction in ['both' , 'backward' ]:
485- s , xyt = _integrate_rk12 (x0 , y0 , dmap , backward_time , maxlength , broken_streamlines )
486+ s , xyt = _integrate_rk12 (x0 , y0 , dmap , backward_time , maxlength ,
487+ broken_streamlines )
486488 stotal += s
487489 xy_traj += xyt [::- 1 ]
488490
489491 if integration_direction in ['both' , 'forward' ]:
490492 dmap .reset_start_point (x0 , y0 )
491- s , xyt = _integrate_rk12 (x0 , y0 , dmap , forward_time , maxlength , broken_streamlines )
493+ s , xyt = _integrate_rk12 (x0 , y0 , dmap , forward_time , maxlength ,
494+ broken_streamlines )
492495 stotal += s
493496 xy_traj += xyt [1 :]
494497
0 commit comments