Skip to content

Commit 7043610

Browse files
committed
rlocus: add title to root locus plot axes rather than renaming figure window
1 parent ff3b68f commit 7043610

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

control/rlocus.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def root_locus(sys, kvect=None, xlim=None, ylim=None,
151151
if ax is None:
152152
ax = plt.gca()
153153
fig = ax.figure
154+
ax.set_title('Root Locus')
154155

155156
if print_gain and not sisotool:
156157
fig.canvas.mpl_connect(

0 commit comments

Comments
 (0)