-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix dendrogram #1063
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
Fix dendrogram #1063
Conversation
- no need to call getSubplots twice, grab subplot ids from _plots hash for speed.
- which is a more precise description than data, after than defaults step.
@@ -1207,7 +1207,7 @@ axes.getSubplots = function(gd, ax) { | |||
var i, j, sp; | |||
|
|||
// look for subplots in the data | |||
var data = gd.data || []; | |||
var data = gd._fullData || gd.data || []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nonblocking, but do we even need gd.data here then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah good call, forgot streambed might still be using this 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice and easy 💃 !
Thanks for including the dendrogram test, definitely something we should have,
PR #946 broke a few funky layout configurations.
Take for example this dendrogram: https://plot.ly/~talgalili/23
This fix is simple. Make sure that all
Axes.gertSuplots
, including the (new)linkSubplots
, usefullData
if present on-par with what the subplot-layer-creation routine expects.