News for hackers. Stuff that matters.
Re:Pyodide: Python for the Browser by charleover on Thursday May 13, 2021 @06:35AM (#27140600)
This works for me in Chrome 90 on Windows

  import matplotlib.pyplot as plt
  plt.plot([1,2,3,4,5], [1,4,3,2,5])
  plt.show()
Re:Pyodide: Python for the Browser by mjburgess on Thursday May 13, 2021 @07:55AM (#27141078)
Thanks -- it looks like the issue occurs when the import is in a different cell; or when the plotting cell is being re-run.

Try splitting cells on the first line and re-running the second.

I quickly get Recursion-Depth-Max errors.

Re:Pyodide: Python for the Browser by scoopertrooper on Thursday May 13, 2021 @09:30AM (#27141839)
I just split the cells and it worked fine. Weird.