-
Notifications
You must be signed in to change notification settings - Fork 26
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
%matplotlib notebook issue #21
Comments
Can you install that dep. by yourself? I think the way Ted set it up point the user packages location somewhere in your home. So in the terminal if you load the cmbenv and conda/pip install then probably it will work. |
I just installed this in the live version (20191012) and added it to the default list of packages: As @ickc mentioned, one could also probably pip install it to your user directory. Just be careful if you are swapping between incompatible python stacks and trying to use a package installed in your user space. One could also create a new conda env, but then you would have to replicate all the packages in the cmbenv stack. |
@tskisner is this fixed in the cmbenv we are going to use for Trieste? |
I did install the package requested, however, I think using this feature requires support from the NERSC jupyter installation, not our software stack. |
I looked at the docs at https://github.com/matplotlib/jupyter-matplotlib,
However it is quite annoying to have to install |
Since the Jupyterlab instance is not started by us, but provided at NERSC, I don't think we can install our own jupyter lab extension? I think this is what @tskisner is referring to. I wonder if spin can be used to deploy our own stack including the Jupyterlab itself, and I wonder if MPI can even be used with spin. But Spin has been in the "pilot phase" for a long time meaning that only people registered for training can deploy spin applications. (Spin relies on container.) |
ah yes, sorry, |
Yes, I was saying exactly what @ickc mentioned- this is something that would have to be changed by NERSC. The cmbenv stack already contains jupyter-notebook, so I also tried this:
And then I installed firefox on cori and tried to connect to my running notebook on the compute node using the IP address. However, it looks like they are blocking direct connections. |
Rollin replied that the extension is already installed, in fact it works with the default kernel (but using Now if I test with CMB 20191012, also using |
I see we have 0.2.2 and they have 0.3.3, @tskisner can you try to update |
In the past when I tried, it only works when it is reverse tunneling. |
Indeed this is probably a compatibility issue and may be resolved by upgrading ipympl. |
BTW let me know if you guys want to meet to discuss your needs, happy to help. |
I was trying to use
%matplotlib notebook
instead of%matplotlib inline
to have interactive plotting tools. But I got errors with the last line asI was wondering whether this can be fixed by modifying the loaded modules.
Thank you so much!
The text was updated successfully, but these errors were encountered: