Skip to content
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

contour trace on top of heatmap redraws below heatmap trace #152

Closed
etpinard opened this issue Dec 30, 2015 · 3 comments
Closed

contour trace on top of heatmap redraws below heatmap trace #152

etpinard opened this issue Dec 30, 2015 · 3 comments
Assignees
Labels
bug something broken

Comments

@etpinard
Copy link
Contributor

Example: http://codepen.io/etpinard/pen/EPNdMg

The first plot call renders the graph as desired, but any zoom/pan interactions (most likely all relayout calls) redraws the contour trace below the heatmap trace.

@etpinard etpinard added the bug something broken label Dec 30, 2015
@etpinard etpinard changed the title contour trace on top of heatmap redraw below heatmap trace contour trace on top of heatmap redraws below heatmap trace Dec 30, 2015
@etpinard etpinard self-assigned this Jan 7, 2016
@etpinard
Copy link
Contributor Author

etpinard commented Jan 7, 2016

@alexcjohnson any reasons for not using the d3 select/data/enter/exit pattern in the heatmap plot step ?

@alexcjohnson
Copy link
Collaborator

no, I don't think so. Weird, dunno why I would have written it that way.

@etpinard
Copy link
Contributor Author

@alexcjohnson any reasons for drawing heatmap and contour trace in the same <svg> layer?

Seems to me that contour traces need be above heatmaps always to allow for consistent trace toggling. See example: http://codepen.io/etpinard/pen/rxGwyZ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

2 participants