matplotlib-pyodide
matplotlib-pyodide copied to clipboard
HTML5 backends for Matplotlib compatible with Pyodide
It should be possible to use this thing to put together an interactive matplotlib gallery.
Hello fellow pyodide users and mods!! Thank you for your hard work, this is an awesome project and I've been using it heavily!! Most recently, I've been trying to plot...
## 🐛 Bug Matplotlib does not render plots ### To Reproduce 1. go to https://pyodide.org/en/latest/console.html 2. run the following: ```py >>> import matplotlib.pyplot as plt >>> import numpy as np...
There is a bunch of matplotlib benchmarks in the [Pyodide repo here](https://github.com/pyodide/pyodide/tree/main/benchmark/benchmarks/matplotlib_benchmarks). We should extract them and move them here, which would also make the Pyodide benchmark CI a bit...
updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v5.0.0) - [github.com/PyCQA/isort: 5.12.0 → 6.0.1](https://github.com/PyCQA/isort/compare/5.12.0...6.0.1) - [github.com/asottile/pyupgrade: v3.13.0 → v3.20.0](https://github.com/asottile/pyupgrade/compare/v3.13.0...v3.20.0) - [github.com/hadialqattan/pycln: v2.2.2 → v2.5.0](https://github.com/hadialqattan/pycln/compare/v2.2.2...v2.5.0) - [github.com/psf/black: 23.9.1 → 25.1.0](https://github.com/psf/black/compare/23.9.1...25.1.0) - [github.com/pycqa/flake8: 6.1.0 →...
## Background `matplotlib` is a critical library for Python users, and many want to use it with Pyodide. To meet this demand, `matplotlib-pyodide` was introduced early in Pyodide's history (originating...
Currently plt.show() only creates one canvas and reuses it for all subsequent calls. Can an additional flag be added to create a new canvas every time.
At the time of opening, this is going to fail as it did in [this workflow run](https://github.com/pyodide/matplotlib-pyodide/actions/runs/12083017969/job/33695309855), but it looks like an easy fix in https://github.com/pyodide/pyodide-actions/. This does not need...