-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
bugsomething brokensomething broken
Description
See https://codepen.io/arnog/pen/YgZdEZ
- Create a heatmap plot with about 500 x 500 elements
- Configure the plot with
scrollZoom = true
andzsmooth = 'fast'
- Use the mouse wheel to zoom in rapidly into the plot
Result:
- the plot is not zoomed in and the console displays "Uncaught RangeError: Invalid array length"
The array being created is the pixel array in which to draw the interpolated heatmap at traces/heatmap/plot.js:238
The problem seems to be that imageWidth
and imageHeight
are used here and later in the function, perhaps instead of canvasW
and canvasH
.
Metadata
Metadata
Assignees
Labels
bugsomething brokensomething broken