Increase Limit Size of Heatmap?

I’m trying to create a (very) large heatmap, where the data is of shape (10, 85000).
I Noticed that I can’t display heatmaps when the row size is greater than 65k:

row_size = 65000  # change this to 66000 and the figure is displayed empty
z = np.random.randint(0, 101, size=(10, row_size))
heatmap = go.Heatmap(z=z,
                     colorbar=dict(
                         thickness=25,
                     ))
fig = go.Figure(data=[heatmap])
fig.update_layout(width=1500, height=500)
fig.show()

Is there a way to increase this limit?

Hi @JonNir!

I stumbled upon the same problem and it seems it is a limitation of current browsers. Read the various answers to this StackOverflow question for more details. There’s also this post which lists
some limits, determined by a JavaScript project named canvas-size.

Unfortunately no solution to this problem seems available, so far. :frowning:

regards,
Martin