astropy-workshop icon indicating copy to clipboard operation
astropy-workshop copied to clipboard

Javascript error using %matplotlib notebook

Open stargaser opened this issue 1 year ago • 1 comments

Describe the bug

In the notebook 00 Using the Jupyter notebook.ipynb there is a cell with %matplotlib notebook followed by another cell with plotting commands. In that second cell, a message is printed Javascript Error: Can't find variable: IPython. No plot output appears.

To Reproduce Steps to reproduce the behavior:

Open the notebook 00 Using the Jupyter notebook.ipynb and execute the first few cells.

Expected behavior

Using the %matplotlib notebook magic should produced plots that the user can interact with.

Desktop (please complete the following information):

Mac OS X Sonoma 14.1.2 Safari Version 17.1.2

Additional context

Problem initially reported by Bernhard Schulz at the Astropy workshop at AAS 243.

I found this issue implying that the problem was introduced in notebook 7. I tried downgrading to notebook 6.5.6 and the Javascript error still occurred.

stargaser avatar Jan 08 '24 22:01 stargaser

I didn't see this this year. Can this issue be closed?

kelle avatar Jan 13 '25 14:01 kelle