Skip to content
Prev Previous commit
Next Next commit
fix for github #623
  • Loading branch information
sawyerbfuller committed Nov 5, 2021
commit 3dca645452bb634f752ed3cd6546ce7a71c01072
4 changes: 2 additions & 2 deletions control/rlocus.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ def root_locus(sys, kvect=None, xlim=None, ylim=None,
else:
if ax is None:
ax = plt.gca()
fig = ax.figure
ax.set_title('Root Locus')
fig = ax.figure
ax.set_title('Root Locus')

if print_gain and not sisotool:
fig.canvas.mpl_connect(
Expand Down