Skip to content

Generating the same graph multiple times with new document.pyodideMplTarget objects cause every 2nd graph to disappear. #54

Open
@coatless

Description

@coatless

Under matplotlib_pyodide.html5_canvas_backend, I'm setting a new HTML object to document.pyodideMplTarget and, then, executing code to generate the plot. However, running the cell back-to-back seems to cause the graph to disappear on the second call and, then, reappear on the third call.

See the following GIF for an example:

mpl-backend-hiccup-on-repeat-plots

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