Skip to content

Commit 4e055bb

Browse files
committed
FIX:
- removed deprecated handling 'Plot' - fixed docstring for argument plot the singular value plot
1 parent ae7d546 commit 4e055bb

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

control/freqplot.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ def singular_values_plot(syslist, omega=None,
10591059
omega : array_like
10601060
List of frequencies in rad/sec to be used for frequency response
10611061
plot : bool
1062-
If True (default), plot magnitude and phase
1062+
If True (default), generate the singular values plot
10631063
omega_limits : array_like of two values
10641064
Limits of the frequency vector to generate.
10651065
If Hz=True the limits are in Hz otherwise in rad/s.
@@ -1091,14 +1091,6 @@ def singular_values_plot(syslist, omega=None,
10911091
# Make a copy of the kwargs dictionary since we will modify it
10921092
kwargs = dict(kwargs)
10931093

1094-
# Check to see if legacy 'Plot' keyword was used
1095-
if 'Plot' in kwargs:
1096-
import warnings
1097-
warnings.warn("'Plot' keyword is deprecated in bode_plot; use 'plot'",
1098-
FutureWarning)
1099-
# Map 'Plot' keyword to 'plot' keyword
1100-
plot = kwargs.pop('Plot')
1101-
11021094
# Get values for params (and pop from list to allow keyword use in plot)
11031095
dB = config._get_param('bode', 'dB', kwargs, _bode_defaults, pop=True)
11041096
Hz = config._get_param('bode', 'Hz', kwargs, _bode_defaults, pop=True)

0 commit comments

Comments
 (0)