-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
"%matplotlib notebook" not working in firefox with matplotlib 3.3.1 #18481
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
I cannot reproduce this on master with Firefox (80.0.1 (64-bit)) on my mac. 1) that's a pretty old firefox? 2) maybe change the order to put the |
I can reproduce this with IceCat, which is still on the 68 ESR line. |
I thought it was older, but you actually need Firefox 69 for |
Ah, so it turns out that Firefox 68 does support |
I confirm that setting layout.css.resizeobserver.enabled to true in firefox
fixes it.
However I am sharing notebooks with other users, this will force each
firefox user to implement the fix on their own browser, not ideal.
Maybe the idea of a fix in 3.3.3 is not bad, unless future firefox releases
revert to true resizeobserver by default.
--And Thanks!
On Mon, Sep 14, 2020 at 11:01 PM Elliott Sales de Andrade < ***@***.***> wrote:
Ah, so it turns out that Firefox 68 does support ResizeObserver, but it
was experimental and hidden behind a flag. If you go to about:config, and
set layout.css.resizeobserver.enabled to true, then it's fixed. As there's
a workaround, I don't want to hold up 3.3.2 on this, but maybe for 3.3.3
(if that happens), we can think about the shim idea.
…
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
It's enabled in all releases after 68; this is only a problem in ESR. |
Sounds like problem will fix itself with next browser update then. No
reason to follow up.
Cheers
…On Wed, Sep 16, 2020 at 8:35 AM Elliott Sales de Andrade < ***@***.***> wrote:
It's enabled in all releases after 68; this is only a problem in ESR.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#18481 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKX4DUQ66QTYV7XNMUXBUKLSGBTEPANCNFSM4RL6RBNA>
.
|
This fixes nbagg on Firefox ESR. Fixes matplotlib#18481.
Bug report
Bug summary
using "%matplotlib notebook" to get interactive plots in notebook running on firefox browser stopped working upon upgrade from matplotlib 3.1.1 to 3.3.1. Firefox 68.0.1 (64-bit) for Linux MINT.
Still works fine in google chrome. Other interactive like "%matplotlib widget" or "%matplotlib ipympl" are OK in both firefox & chrome.
No error message, just a small triangle appears in lieu if the plot in the notebook.
Code for reproduction
Actual outcome
Expected outcome
Used to work in matplotlib 3.1.1
Matplotlib version
Operating system: Linux MINT
Matplotlib version: 3.3.1
Matplotlib backend (
print(matplotlib.get_backend())
): nbAggPython version: 3.7.8 | packaged by conda-forge
Jupyter version (if applicable):
jupyter core : 4.6.3
jupyter-notebook : 6.1.4
qtconsole : 4.7.5
ipython : 7.17.0
ipykernel : 5.3.4
jupyter client : 6.1.6
jupyter lab : not installed
nbconvert : 5.6.1
ipywidgets : 7.5.1
nbformat : 5.0.7
traitlets : 4.3.3
Other libraries:
install from conda
channels:
The text was updated successfully, but these errors were encountered: