Skip to content

scattermapbox lines break with trailing null #1418

Closed
@rreusser

Description

@rreusser

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

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions