Skip to content

Fix dendrogram - #1063

Merged
etpinard merged 3 commits into
masterfrom
fix-cartesian-funky-layout
Oct 24, 2016
Merged

Fix dendrogram#1063
etpinard merged 3 commits into
masterfrom
fix-cartesian-funky-layout

Conversation

@etpinard

@etpinardetpinard commented Oct 20, 2016

Copy link
Copy Markdown
Contributor

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, use fullData if present on-par with what the subplot-layer-creation routine expects.

- 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.
@etpinardetpinard added this to the v1.19.0 milestone Oct 20, 2016

// look for subplots in the data
var data = gd.data || [];
var data = gd._fullData || gd.data || [];

Copy link
Copy Markdown
Collaborator

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?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't want to break

image

Copy link
Copy Markdown
Collaborator

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 👍

@alexcjohnsonalexcjohnson left a comment

Copy link
Copy Markdown
Collaborator

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,

@etpinard
etpinard merged commit ee989d9 into masterOct 24, 2016
@etpinard
etpinard deleted the fix-cartesian-funky-layout branch October 24, 2016 15:14
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugsomething broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@etpinard@alexcjohnson