-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"module://matplotlib_pyodide.wasm_backend" should auto clear the old pictures instead of generate new pictures #49
Comments
Thanks for opening the issue. There is currently no maintainer actively managing matplotlib-pyodide, so it would be great if you could contribute to the issues you see. |
I'm glad to maintain this repo. BTW are there any FAQs to debug emscripten whls like this? |
No, and it's a bit inconvenient but we are happy to provide suggestions / help if you get stuck. It's easier for wheels the work in node, but I think the best thing is to unpack the wheel into some folder:
then do: dirHandle = await showDirectoryPicker();
const nativefs = await pyodide.mountNativeFS("/mount_dir", dirHandle);
pyodide.pyimport("sys").path.insert(0, "/mount_dir") and pick the |
…ose() method to delete previous divs (#55) * fix bug #49 * add test for #55 * update the CHANGELOG.md * add tests for #55 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: yuhongbo <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
🐛 Bug
When use "module://matplotlib_pyodide.wasm_backend" to output pictures, each time it appends new divs and let the height of the page changes. That's unacceptable for admin apps.
To Reproduce
Clone this repo
Expected behavior
the constant amount of picture output
Environment
Additional context
The text was updated successfully, but these errors were encountered: