Skip to content

Heatmap crashes with d3 errors when plotting with x-axis and y-axis traces of single element arrays #605

Closed
@mcin-armintaheri-archive

Description

http://codepen.io/armintaheri/pen/JKYGrK?editors=1010

If a given axis of a heatmap only has one element in the trace, the plot crashes and the console is filled with d3.js exceptions:

attribute height: Expected length, "NaN".
attribute width: Expected length, "NaN".
attribute x: Expected length, "NaN".
attribute y: Expected length, "NaN".

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