@@ -172,7 +172,7 @@ def _create_kwargs(global_kwargs, local_kwargs, **other_kwargs):
172
172
kwargs , plot_streamlines , gridspec = gridspec , gridtype = gridtype ,
173
173
ax = ax )
174
174
out [0 ] += streamlines (
175
- sys , pointdata , timedata , check_kwargs = False ,
175
+ sys , pointdata , timedata , _check_kwargs = False ,
176
176
suppress_warnings = suppress_warnings , ** kwargs_local )
177
177
178
178
# Get rid of keyword arguments handled by streamlines
@@ -188,7 +188,7 @@ def _create_kwargs(global_kwargs, local_kwargs, **other_kwargs):
188
188
kwargs_local = _create_kwargs (
189
189
kwargs , plot_separatrices , gridspec = gridspec , ax = ax )
190
190
out [0 ] += separatrices (
191
- sys , pointdata , check_kwargs = False , ** kwargs_local )
191
+ sys , pointdata , _check_kwargs = False , ** kwargs_local )
192
192
193
193
# Get rid of keyword arguments handled by separatrices
194
194
for kw in ['arrows' , 'arrow_size' , 'arrow_style' , 'params' ]:
@@ -198,7 +198,7 @@ def _create_kwargs(global_kwargs, local_kwargs, **other_kwargs):
198
198
kwargs_local = _create_kwargs (
199
199
kwargs , plot_vectorfield , gridspec = gridspec , ax = ax )
200
200
out [1 ] = vectorfield (
201
- sys , pointdata , check_kwargs = False , ** kwargs_local )
201
+ sys , pointdata , _check_kwargs = False , ** kwargs_local )
202
202
203
203
# Get rid of keyword arguments handled by vectorfield
204
204
for kw in ['color' , 'params' ]:
@@ -208,7 +208,7 @@ def _create_kwargs(global_kwargs, local_kwargs, **other_kwargs):
208
208
kwargs_local = _create_kwargs (
209
209
kwargs , plot_equilpoints , gridspec = gridspec , ax = ax )
210
210
out [2 ] = equilpoints (
211
- sys , pointdata , check_kwargs = False , ** kwargs_local )
211
+ sys , pointdata , _check_kwargs = False , ** kwargs_local )
212
212
213
213
# Get rid of keyword arguments handled by equilpoints
214
214
for kw in ['params' ]:
@@ -231,7 +231,7 @@ def _create_kwargs(global_kwargs, local_kwargs, **other_kwargs):
231
231
232
232
def vectorfield (
233
233
sys , pointdata , gridspec = None , ax = None , suppress_warnings = False ,
234
- check_kwargs = True , ** kwargs ):
234
+ _check_kwargs = True , ** kwargs ):
235
235
"""Plot a vector field in the phase plane.
236
236
237
237
This function plots a vector field for a two-dimensional state
@@ -301,7 +301,7 @@ def vectorfield(
301
301
color = _get_color (kwargs , ax = ax )
302
302
303
303
# Make sure all keyword arguments were processed
304
- if check_kwargs and kwargs :
304
+ if _check_kwargs and kwargs :
305
305
raise TypeError ("unrecognized keywords: " , str (kwargs ))
306
306
307
307
# Generate phase plane (quiver) data
@@ -321,7 +321,7 @@ def vectorfield(
321
321
322
322
def streamlines (
323
323
sys , pointdata , timedata = 1 , gridspec = None , gridtype = None , dir = None ,
324
- ax = None , check_kwargs = True , suppress_warnings = False , ** kwargs ):
324
+ ax = None , _check_kwargs = True , suppress_warnings = False , ** kwargs ):
325
325
"""Plot stream lines in the phase plane.
326
326
327
327
This function plots stream lines for a two-dimensional state space
@@ -399,7 +399,7 @@ def streamlines(
399
399
color = _get_color (kwargs , ax = ax )
400
400
401
401
# Make sure all keyword arguments were processed
402
- if check_kwargs and kwargs :
402
+ if _check_kwargs and kwargs :
403
403
raise TypeError ("unrecognized keywords: " , str (kwargs ))
404
404
405
405
# Create reverse time system, if needed
@@ -433,7 +433,7 @@ def streamlines(
433
433
434
434
435
435
def equilpoints (
436
- sys , pointdata , gridspec = None , color = 'k' , ax = None , check_kwargs = True ,
436
+ sys , pointdata , gridspec = None , color = 'k' , ax = None , _check_kwargs = True ,
437
437
** kwargs ):
438
438
"""Plot equilibrium points in the phase plane.
439
439
@@ -496,7 +496,7 @@ def equilpoints(
496
496
points , _ = _make_points (pointdata , gridspec , 'meshgrid' )
497
497
498
498
# Make sure all keyword arguments were processed
499
- if check_kwargs and kwargs :
499
+ if _check_kwargs and kwargs :
500
500
raise TypeError ("unrecognized keywords: " , str (kwargs ))
501
501
502
502
# Search for equilibrium points
@@ -513,7 +513,7 @@ def equilpoints(
513
513
514
514
def separatrices (
515
515
sys , pointdata , timedata = None , gridspec = None , ax = None ,
516
- check_kwargs = True , suppress_warnings = False , ** kwargs ):
516
+ _check_kwargs = True , suppress_warnings = False , ** kwargs ):
517
517
"""Plot separatrices in the phase plane.
518
518
519
519
This function plots separatrices for a two-dimensional state space
@@ -606,7 +606,7 @@ def separatrices(
606
606
stable_color = unstable_color = color
607
607
608
608
# Make sure all keyword arguments were processed
609
- if check_kwargs and kwargs :
609
+ if _check_kwargs and kwargs :
610
610
raise TypeError ("unrecognized keywords: " , str (kwargs ))
611
611
612
612
# Create a "reverse time" system to use for simulation
0 commit comments