Black Lives Matter. Please consider donating to Black Girls Code today.

Doubleclick Autoscale not working on HeatmapGL

When using the Heatmap graphics object, double clicking on the graph will autoscale the graph. This behavior is doesn’t seem to be working for heatmapGL.

As a simplified example, double-click autoscale doesn’t work with the following:
plotly.offline.plot(go.Figure(data=[go.Heatmapgl(z=np.zeros((3,3)))]))
while it does work with:
plotly.offline.plot(go.Figure(data=[go.Heatmap(z=np.zeros((3,3)))]))

I’m only able to test this offline.
Python v3.6
Plotly v2.0.12
Chrome v60.0.3112.101
Windows 10

Yeah, that doesn’t work for all gl2d traces.

Stay tuned to https://github.com/plotly/plotly.js/pull/1869 which should fix most gl2d limitations.

1 Like