Skip to content

Matplotlib does not work #7

Open
@Martmists-GH

Description

@Martmists-GH

🐛 Bug

Matplotlib does not render plots

To Reproduce

  1. go to https://pyodide.org/en/latest/console.html
  2. run the following:
>>> import matplotlib.pyplot as plt
>>> import numpy as np
>>> plt.plot(np.sin(np.linspace(0, 0.05, 200) * np.pi * 2 * 100))
[<matplotlib.lines.Line2D object at 0x1fc7878>]
>>> plt.show()
>>>

Expected behavior

The plot shows up, either inline or as popup

Environment

  • Pyodide Version: latest
  • Browser version: Google Chrome, 96.0.4664.93 (Official Build) (64-bit)

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