matplotlib-pyodide
matplotlib-pyodide copied to clipboard
HTML5 backends for Matplotlib compatible with Pyodide
The Node and Deno contexts can't use the `matplotlib_pyodide` backends but work fine with `Agg`. Takes a second to piece together but one pattern I'm finding useful is to save...
Hey there, Is it possible to generate the figures including first and then use them on a static webpage without any python or matplotlib? Including hovering over the points and...
At the moment using `matplotlib` when Pyodide is loaded in a web worker with the following code snippet: ```python import numpy as np import matplotlib.pyplot as plt x = np.linspace(0,...
## 🐛 Bug I am using Pyodide to run matplotlab pie with chinese font label, but display nothing. ### To Reproduce import matplotlib.pyplot as plt kinds = ["中文1", "中文2", "中文3","中文4"]...
Currently, matplotlib figures are placed in an element returned by `FigureCanvasWasm.create_root_element`. Our options for modifying this behavior are limited, and I'd like to propose something better. ## Current options @personalizedrefrigerator,...
The matplotlib figures should be resizable with a little "handle", like in the WebAgg backend.
From https://github.com/pyodide/matplotlib-pyodide/issues/9 > for now, matplotlib only has access to the "shipped" fonts
I need this to set up the report markup (ideally I'd just have `` in html and then fill them up later) and do the plotting later. ``` %% py...
I hope this is the right place to put this - how do I access the plots made by the matplotlib package? I am using the pyodide package independent of...
Matplotlib tries to run `from js import document`. This causes an exception when Pyodide is being run from within a webworker.