Open rlanzafame opened 1 year ago
it seems like it could be because ipympl
is not included. first added to *.yml
in JSON; didn't work, but i only re-ran an old job. then tried with a new commit to ./book/
to trigger a complete new build...
@CasparJungbacker any ideas here? Does the same thing happen to you when you try using matplotlib: a) in the browser on your mac, and/or b) using local build on mac?
I can't remember if this is a known issue with no solution. If so, the workaround will be to set up a classic nb using pyodide at github.com/TUDelft-CITG/learn-python-nb
to be able to do the mpl stuff in the mooc
@CasparJungbacker any ideas here? Does the same thing happen to you when you try using matplotlib: a) in the browser on your mac, and/or b) using local build on mac?
I've had this error before, but it was because matplotlib
was not included in the build process of the kernel which is not the case now. On my laptop, I use Anaconda for building the kernel, though, while the pipeline uses Mamba, so there might be something fishy going on there. I'll try if switching back to Anaconda fixes it.
We aren't going to use JupyterLite in the book build this summer, so this Issue becomes irrelevant. See Archive pre-release and deploy.yml, which should replicate this issue. We should work this out, but let's do it in the interactivetextbooks-citg
Group.
The IPython console is not working with
matplotlib
. It's not a generic import, sinceimport numpy as np
works. Below the error report from 2 attempts at using it:Error:
Error: