-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
%matplotlib notebook magic no longer shows plots #18396
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
Comments
What version of Firefox? |
@rsokl have you tried flipping the order of the first two lines? with this error in the console:
also subsequent plots are embedded without interactivity However if I swap the order of the first two lines %matplotlib notebook
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.plot(range(10)) then everything works as expected. OS: PopOS 20.04 (basically ubuntu) |
Also, I just checked and I see the same behavior on Chrome 83.0.4103.116 (Official Build) (64-bit) |
Firefox Quantum 68.11.0esr (64-bit) @ianhi unfortunately, neither of those behaviors manifest for me. These sorts of plots worked for my prior to an environment upgrade - I need to find time to do some version bisecting to find the culprit. |
… otherwise not showing :( Some bug: matplotlib/matplotlib#18396
Ah, this is the same as #18481. See the workaround in #18481 (comment) |
I don't think there is any reason for both issues to be open? |
Bug report
Bug summary
In Firefox (haven't tested other browsers), the
%matplotlib notebook
magic causes plots to not render.Changing to
%matplotlib inline
will produce the plotCode for reproduction
Actual outcome
Expected outcome
I expect a plot to be produced by the above code, instead of that weird charm that it displayed
Matplotlib version
print(matplotlib.get_backend())
): nbAggInstalled from conda, default channel.
The text was updated successfully, but these errors were encountered: