Skip to content

Commit 76b0507

Browse files
committed
relaxed fiddly click size threshold in rlocus
1 parent 9b10121 commit 76b0507

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

control/rlocus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,8 +577,8 @@ def _RLFeedbackClicksPoint(event, sys, fig, ax_rlocus, sisotool=False):
577577

578578
xlim = ax_rlocus.get_xlim()
579579
ylim = ax_rlocus.get_ylim()
580-
x_tolerance = 0.05 * abs((xlim[1] - xlim[0]))
581-
y_tolerance = 0.05 * abs((ylim[1] - ylim[0]))
580+
x_tolerance = 0.1 * abs((xlim[1] - xlim[0]))
581+
y_tolerance = 0.1 * abs((ylim[1] - ylim[0]))
582582
gain_tolerance = np.mean([x_tolerance, y_tolerance])*0.1
583583

584584
# Catch type error when event click is in the figure but not in an axis

0 commit comments

Comments
 (0)