Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

TypeError: r.*.destroy is not a function #313

Closed
@slishak

Description

@slishak

I've recently updated all my Dash/Plotly depenendices to their latest versions:

dash==0.27.0
dash-core-components==0.30.2
dash-html-components==0.13.2
dash-renderer==0.14.1
plotly==3.2.1

I have a Dash app where the number and layout of subplots in one of my figures (consisting of lots of Scattergl traces) changes depending on user inputs. When the number/layout of subplots changes, sometimes I get the following errors in the Chrome console:
image

After this, the subplots seem to be drawn incorrectly (missing elements, incorrect sizes). If I trigger another redraw after this happens the figure is eventually drawn correctly. Unfortunately I can't share the app code but will see if I can reproduce it.

I was previously on the following, and had never seen this issue before (although despite this problem, in general drawing performance with my Dash apps is a lot better now):

dash==0.22.0
dash-core-components==0.26.0
dash-html-components==0.11.0
dash-renderer==0.13.0
plotly==3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions