Skip to content

Commit 6a6ecbb

Browse files
authored
Updated rlocus.py to remove warning by sisotool with rlocus_grid=True
At line 239 in rlocus.py parameter passed to _sgrid_func() has been corrected. It was giving error when calling sisotool() with parameter rlocus_grid=True.
1 parent e81f648 commit 6a6ecbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/rlocus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def root_locus(sys, kvect=None, xlim=None, ylim=None,
236236
if isdtime(sys, strict=True):
237237
zgrid(ax=ax)
238238
else:
239-
_sgrid_func(f)
239+
_sgrid_func(fig=fig)
240240
elif grid:
241241
if isdtime(sys, strict=True):
242242
zgrid(ax=ax)

0 commit comments

Comments
 (0)