-
Notifications
You must be signed in to change notification settings - Fork 598
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
Remove backend and add resolve nteract: matplotlib.use('nbagg') #32
Comments
Switching to inline means none of the interactive examples will work. To get them to work under jupyterlab (rather than the classic notebooks) the magics should be switched to |
I am able to run all examples by switching to inline and removing backend at the same time. Also
I am using Python 3.6.8. |
I believe you have to restart your server after installing ipympl. One of the strenghts of Matplotlib is that it is interactive (you can pan / zoom, add lines iteratively etc). Switching to the inline backend throws all of that out and replaces the plots to static png that must be generated all in one cell so I am very reluctant to change the tutorial to be based on 'inline'. |
I already restarted after installing it. Still results in the same error. Additionally, running the cell more than once results in another error:
|
That still sounds like installation issues. Can you open an issue with https://github.com/matplotlib/jupyter-matplotlib ? |
You can find the issue at #148. Any workarounds for the backend issue? Not sure if this |
As I said above, we need to update the notebooks and install instructions to work with ipypmpl rather than |
Requesting a review for #33 |
Backend is no longer necessary IMO. Using a backend results in the following error on Jupyter.
Also adding
%matplotlib inline
before importing matplotlib resolves the displaying of graphs.Should I fix them in the notebooks and send a PR?
Thanks.
The text was updated successfully, but these errors were encountered: