-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
An error in use of inset_axes of mpl_toolkits in Jupyter Notebook #7052
Comments
@jinshisai Thank you for opening this! Are you using side-by-side rendering when you run the code above? Can you attach a screen shot of what your notebook looks like after you run this code cell? |
Hi @jinshisai, thank you for the additional information. As @krassowski suggested in the Triage meeting, if you could please open an issue in https://github.com/matplotlib/ipympl, this is where you might find more information about addressing this issue. |
Hi @RRosio, ok thanks. I opened an issue in https://github.com/matplotlib/ipympl. However, ipympl has not been installed when I faced the issue. Anyway, I will wait their response. Thank you for your help. |
Hi, I believe this one was a Matplotlib bug which is fixed in v3.7.3. You can reproduce in a regular script if you use |
Description
I had an issue that plots of a color bar with
inset_axes
ofmpl_toolkits.axes_grid1.inset_locator
failed in jupyter notebook, although it works if I simply run through a python script or in ipython. I faced the following error messages:Reproduce
The exact code I run for a test is here.
Expected behavior
A plot like this was expected and it indeed appeared when the script was run by python or in ipython.
Context
The version of matplotlib was 3.7.2.
Troubleshoot Output
Command Line Output
Browser Output
The text was updated successfully, but these errors were encountered: