Contour for bigger images

Hello everyone :raised_hands:,

I have a problem with go.Contour for large images( i.e, 1392 x 1040 ). It takes forever to e rendered.
Is there a way to make the rendering of the contours faster?

    fig = px.imshow(
        imaaa,
        zmin=imaaa.min(),
        zmax=imaaa.max(),
        color_continuous_scale="Hot",
    )
    if checked_contour:
            fig.plotly_restyle({"type": "contour"}, 0)

Thank you