Skip to content

Commit bdbd198

Browse files
committed
fix wrong config read on pzmap
1 parent abc0c3c commit bdbd198

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

control/pzmap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def pzmap(sys, plot=True, grid=False, title='Pole Zero Map', **kwargs):
8787
plot = kwargs['Plot']
8888

8989
# Get parameter values
90-
plot = config._get_param('rlocus', 'plot', plot, True)
91-
grid = config._get_param('rlocus', 'grid', grid, False)
90+
plot = config._get_param('pzmap', 'plot', plot, True)
91+
grid = config._get_param('pzmap', 'grid', grid, False)
9292

9393
if not isinstance(sys, LTI):
9494
raise TypeError('Argument ``sys``: must be a linear system.')

0 commit comments

Comments
 (0)