Skip to content

GL plots seem to be using up multiple GL contexts with Plotly 1.37.1 #2614

Closed
@brian428

Description

@brian428

Previously, we were able to show 7-8 or more WebGL plots at once. With 1.37.1, we're hitting the browser GL context limit (typically 16) much earlier. When showing 7 plots, the first two immediately lose their GL contexts and appear as blank.

Here is a repro case: http://jsfiddle.net/brian428/fqhb7kk9/

It seems like Plotly is using up multiple GL contexts for each scattergl plot. With 7 plots, there are 5 console warnings about losing contexts, so it appears that each scattergl plot is using 3 GL contexts for some reason.

We need to show multiple plots together (and allow each one to be individually manipulated by the user), so this is a blocking issue. Can someone take a look?

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