x3dom output breaks jupyter notebook when displaying mesh twice
Try just cells:
from dolfin import *
mesh = UnitSquareMesh(1, 1)
mesh
and
mesh
to reproduce.
Comments (10)
-
-
reporter Chromium on linux. @minrk had some idea about what dolfin might be doing wrong in the x3dom output.
-
reporter Works on firefox.
-
I would have guessed chrome. There is an issue report somewhere for Jupyter on this. I discussed this with @minrk some time ago.
Update: here's the report: https://github.com/jupyter/notebook/issues/429
-
reporter Reported to chromium bugtracker: https://bugs.chromium.org/p/chromium/issues/detail?id=663288
-
reporter - changed status to on hold
Awaiting fix in chromium. For now, use firefox.
-
reporter @plscott can you consider if this is actually a bug in the dolfin javascript? See comment 5 here:
https://bugs.chromium.org/p/chromium/issues/detail?id=663288#c5
-
reporter Chromium devs have looked into the issue above and found it's a bug caused by including x3dom.js twice. @plscott @garth-wells can you try to figure out a way around that? And possibly file a bug with x3dom if it needs to be fixed there.
-
reporter I've filed an issue with x3dom: https://github.com/x3dom/x3dom/issues/687
-
reporter - changed status to resolved
Fixed in x3dom.
- Log in to comment
Which browser? We've seen this before, and at the time it wasn't clear if it was a Jupyter or a browser bug.