stainlessai / micronaut-jupyter

A Micronaut configuration that integrates your app with an existing Jupyter installation.
https://stainlessai.github.io/micronaut-jupyter
Apache License 2.0
9 stars 5 forks source link

beakerx widgets don't seem to work when multiple notebooks are open #44

Open dstieglitz opened 3 years ago

dstieglitz commented 3 years ago

Working on a private client app, we discovered that having two Micronaut notebooks open simultaneously seems to prevent widgets from working in the non-active notebook unless all the outputs are cleared and cells re-run first. Need to reproduce in a public example, but the test case is:

  1. Open a notebook with a beakerx chart or graph widget and run through it.
  2. Open a second notebook with (different) charts, and run through that one.
  3. Return to first notebook and try to re-run and individual cell with a chart. Nothing is displayed, and "model not found" errors appear in the Javascript console
  4. Select "Clear all outputs and restart kernel"
  5. Re-run cells, and charts re-appear