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.

"RangeError: Source is too large" with repeated re-drawing of Scattergl subplots #181

Closed
@slishak

Description

@slishak

I have a Dash app with a number of Scattergl plots, one of which can have tens of subplots each containing hundreds-thousands of points. After re-drawing the plot containing Scattergl subplots a few times, I get the following error from Plotly.js:

plotly-1.35.2.min.js:7 Uncaught RangeError: Source is too large
    at Float64Array.set (<anonymous>)
    at plotly-1.35.2.min.js:7
    at Array.forEach (<anonymous>)
    at Function.b [as update] (plotly-1.35.2.min.js:7)
    at Object.plot (plotly-1.35.2.min.js:7)
    at ha (plotly-1.35.2.min.js:7)
    at Object.ua.plot (plotly-1.35.2.min.js:7)
    at plotly-1.35.2.min.js:7
    at Object.oe.syncOrAsync (plotly-1.35.2.min.js:7)
    at ay.plot (plotly-1.35.2.min.js:7)

Not sure if this is an issue for Plotly.js or for here, but seeing as the version of Plotly.js is managed by dash-core-components and that's the package I'm directly using, I'm submitting it here!

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