Skip to content

Commit 5ca2d5c

Browse files
committed
fix initial_gain in documentation example
1 parent 52f8127 commit 5ca2d5c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

control/tests/rlocus_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def test_root_locus_documentation(savefigs=False):
194194

195195
# TODO: generate event in order to generate real title
196196
plt.figure()
197-
out = ct.root_locus_map(sys).plot(initial_gain=2)
197+
out = ct.root_locus_map(sys).plot(initial_gain=3.506)
198198
ax = ct.get_plot_axes(out)[0, 0]
199199
freqplot_rcParams = ct.config._get_param('freqplot', 'rcParams')
200200
with plt.rc_context(freqplot_rcParams):

doc/rlocus-siso_ctime-clicked.png

-276 Bytes
Loading

0 commit comments

Comments
 (0)