Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

Speed up contour plot for large datasets

Hello everyone,

I am currently facing the problem that my contour plot takes up a lot of time to load for a large dataset (~10 min). The data (numpy arrays) has following size:

x (64750 x 1)
y (63 x 1)
z (63 x 64750)

fig = go.Figure(data=go.Contour(z=z[‘values’], y=y[‘values’], x=x[‘values’])

Is there any possibility to speed up the process? I searched for a solution, but I couldn’t find one. I read about scattergl, but if I get it right this is only for scatter and line plots, and not contour plots. I also tried to generate a static Plot, but it was still slow. I’m sorry if I missed a topic, where the solution is already provided.

Thanks in advance.

Best regards,