itom1dqwtplot (X/Y plot): moving the cursor with keyboard not possible if X/Y contain adjacent values with equal content

Issue #27 resolved
M. Gronle created an issue
x=np.array([0,1,1,2])
y=np.array([0,0,0,1])
plot1(y,x)

If this example is plotted, the plot consists of two lines (while the x/y arrays have for points each, but the two middle points are the same). If the user then uses the cursor and clicks into that middle point, this red square cannot be moved by the key arrows. This should be an issue due to the same points in the array.

Maybe there is an easy fix for this?

Comments (1)

  1. Log in to comment