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
{{ message }}
Repository navigation
Using matches when opposite axis is categorical causes error #3560
OK so actually it's not just y ... same thing happens on x if I swap everything! Basically if the non-shared axis is categorical it doesn't work, but if both are linear it does, in both permutations! See https://codepen.io/nicolaskruchten/pen/LqvoNV?editors=0010
Activity
[-]Using matches with grid causes error[/-][+]Using matches with grid and bars causes error[/+][-]Using matches with grid and bars causes error[/-][+]Using matches with grid causes error[/+][-]Using matches with grid causes error[/-][+]Using matches on Y with grid causes error[/+]nicolaskruchten commentedon Feb 21, 2019
Note that this only happens with the
xaxis AFAICT... doing the same trick withxdoesn't fail.nicolaskruchten commentedon Feb 21, 2019
Hmm doesn't even seem related to grid per se.
[-]Using matches on Y with grid causes error[/-][+]Using matches on Y causes error[/+]nicolaskruchten commentedon Feb 21, 2019
Here's the same problem with scatter, no grid, on Y: https://codepen.io/nicolaskruchten/pen/jdRgNr?editors=0010
[-]Using matches on Y causes error[/-][+]Using matches when opposite axis is categorical causes error[/+]nicolaskruchten commentedon Feb 21, 2019
OK so actually it's not just
y... same thing happens onxif I swap everything! Basically if the non-shared axis is categorical it doesn't work, but if both are linear it does, in both permutations! See https://codepen.io/nicolaskruchten/pen/LqvoNV?editors=0010etpinard commentedon Feb 21, 2019
That's the expected behaviour. Matching axes only work on axes of the same type.
nicolaskruchten commentedon Feb 21, 2019
No... in this case I'm matching continuous to continuous, but the OTHER axis is categorical.
nicolaskruchten commentedon Feb 21, 2019
i.e. both
ys are continuous, and thexis categorical, and I'm trying to matchy2toy.etpinard commentedon Feb 21, 2019
Ah I see. On it!