Skip to content

Plotting fails silently when handed bad data, or produces confusing error messages #619

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
phx-mkoninckx opened this issue Jun 8, 2016 · 1 comment

Comments

@phx-mkoninckx
Copy link

For example: http://codepen.io/anon/pen/ZObgwz
No error messages are produced, even at the console, when running this code (attempting to plot scatter3d with no z-axis data). It would be more developer-friendly if an error message was produced that indicated why no data was plotted.

@etpinard
Copy link
Contributor

etpinard commented Jun 8, 2016

I wouldn't call this failing really.

scatter3d needs z array in order to be considered visible.

We could make it clearer in our docs (maybe by adding required meta tag in our attribute declarations) and/or expose some other way to inform users about attribute coercion.

In any case, this is a duplicate of #598

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