You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the lineplot is created and there are only two points in the line, the library mixes xvalues and yvalues (it takes x1 and y1 from x[] and x2 and y2 from y[] instead of x1,x2 from x[] and y1,y2 from y[])
I discovered this with a plot that looked like this:
Yes I also figured out. The fact is the convertXY is also used for arrays of X,Y values, as the arrays have 2 points it is converting as arrays of X,Y values.
When the lineplot is created and there are only two points in the line, the library mixes xvalues and yvalues (it takes x1 and y1 from x[] and x2 and y2 from y[] instead of x1,x2 from x[] and y1,y2 from y[])
I discovered this with a plot that looked like this:
And the result is completely wromd due to x and y totally different scales:
This is very disrturbing and looks like a bug.
The text was updated successfully, but these errors were encountered: