Skip to content

selected event for Contour plots doesn't populate points array #2188

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

Closed
brian428 opened this issue Nov 29, 2017 · 1 comment
Closed

selected event for Contour plots doesn't populate points array #2188

brian428 opened this issue Nov 29, 2017 · 1 comment

Comments

@brian428
Copy link

When using a combined scatter plot and contour plot, the plotly_selected event does get a populated points array after selection. But if no scatter plot is included, the points array is empty. It would be useful to allow selecting data when only contour is being used.

Under the hood, I assume that the contour plot is still aware of the x/y values that were fed into it to create the contours, so it seems like populating the points array should still be possible?

@brian428 brian428 changed the title selected event for Contour plots don't populate points array selected event for Contour plots doesn't populate points array Nov 29, 2017
@etpinard
Copy link
Contributor

etpinard commented Nov 29, 2017

That's correct. Selections aren't supported for all trace types. See up-to-date list in #170 (comment)

Closing in favor of #170

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

No branches or pull requests

2 participants