-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heatmap should look up category position when building brick data #1117
Comments
replacing x = ['Team B', 'Team C'] with x = [None, 'Team B', 'Team C'] should do the trick. |
It doesn't work in JS. I hope this is a bug instead of expected behaviour, as in Bar plot the shared axis do align on the name. |
Ha I see. You're expecting each I believe this is the result of the same underlying issue as #1097 Here's a way to work around the problem: https://codepen.io/etpinard/pen/QGbGNP |
@colinfang thanks for posting 🍻 Next time, to make our lives a little easier, please don't make references to the plotly.py API (or any other API library) in this repo. It can make things a little confusing on how to approach the issue. A reproducible codepen suffices. |
Update: solving this problem and #1097 in general is a little harder than I thought. At the moment, the heatmap plotting routine fails when So, I think we'll need to order // TODO: if there are multiple overlapping categorical heatmaps,
// or if we allow category sorting, then the categories may not be
// sequential... may need to reorder and/or expand z |
The 2nd plot should start at
Team B
, instead ofTeam A
.https://codepen.io/anon/pen/qqdqWq
The text was updated successfully, but these errors were encountered: