tardis-sn / tardis

TARDIS - Temperature And Radiative Diffusion In Supernovae
https://tardis-sn.github.io/tardis
198 stars 403 forks source link

Interactive widgets are not displayed in a Jupyter notebook #1954

Open afloers opened 2 years ago

afloers commented 2 years ago

Describe the bug LineInfoWidget and ShellInfoWidget do not show up in Jupyter notebooks, nor do they produce errors. Nothing is displayed. I tried to run the notebook in Firefox, Chrome and Visual Studio Code, but none of them worked.

To Reproduce from tardis import run_tardis from tardis.io.atom_data.util import download_atom_data

sim = run_tardis('tardis_example.yml', virtual_packet_logging=True)

shell_info_widget = shell_info_from_simulation(sim) shell_info_widget.display() line_info_widget = LineInfoWidget.from_simulation(sim) line_info_widget.display()

Screenshots

Screenshot 2022-04-13 at 18 23 11

System

gayatri-p commented 2 months ago

Any update on this bug?