10000 Updated rlocus.py to remove warning by sisotool with rlocus_grid=True · python-control/python-control@1ca4a03 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1ca4a03

Browse files
nirjhar-dasbnavigator
authored andcommitted
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 a6a5bee commit 1ca4a03

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)
0