Skip to content

[input_output] code failure #22

@kp992

Description

@kp992

Failure:

File /lib/python3.11/site-packages/matplotlib_pyodide/wasm_backend.py:18
     15 import base64
     16 import io
---> 18 from js import ImageData, document
     19 from matplotlib import interactive
     20 from matplotlib.backend_bases import FigureManagerBase, _Backend

ImportError: cannot import name 'document' from 'js' (unknown location)

Looks like something is breaking in the matplotlib-pyodide library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions