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

scattermapbox lines break with trailing null #1418

Closed
rreusser opened this issue Feb 24, 2017 · 1 comment · Fixed by #1421
Closed

scattermapbox lines break with trailing null #1418

rreusser opened this issue Feb 24, 2017 · 1 comment · Fixed by #1421
Assignees
Labels
bug something broken

Comments

@rreusser
Copy link
Contributor

rreusser commented Feb 24, 2017

The following trace breaks scattermapbox:

{
  type: 'scattermapbox',
  mode: 'lines+markers',
  lat: [0, 10, null, 20, 30, null],
  lon: [10, 20, null, 30, 40, null],
  connectgaps: false
}

The culprit is the trailing null. The result is a generic mapbox error and no lines for that particular trace. It fails identically given more than one trailing null.

Example: http://codepen.io/rsreusser/pen/VpYjON?editors=1010

nulls

@etpinard
Copy link
Contributor

Thanks for the report!

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

Successfully merging a pull request may close this issue.

2 participants