-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Plots are not drawn with matplotlib #18
Comments
Apparently running NumPy is the same way. If you call |
Another thought: basically all external imports in SymPy go through this Although I would like to understand why this is happening first. Maybe the problem is that pyodide intercepts |
Hi – I've taken a look at this, and I'd like to point out that Pyodide can't install packages by itself by intercepting @oscarbenjamin and @ivanistheone, one solution for this issue could be to patch SymPy's ![]() such that we can get Another problem is around the mappings of the import names versus package names, as Once fixed, I think it could be possible to fix and upstream the changes, but I'm also concerned about the maintainability of such a change. There's a good chance that a workaround of adding |
I see that the matplotlib is not recognized by the default backend in plots.
However, pyodide has matplotlib installed, so
import matplotlib
prepending just worksI wonder if this can be appended to the templates, or sympy plot should recognize this to load matplotlib on demand. (if loading matplotlib is heavy)
The text was updated successfully, but these errors were encountered: