openPMD / openPMD-viewer

:snake: Python visualization tools for openPMD files
https://openpmd-viewer.readthedocs.io/
Other
67 stars 50 forks source link

Issues rendering OpenPMDTimeSeries Interactive Viewer #361

Open rob-shalloo opened 1 year ago

rob-shalloo commented 1 year ago

A few of us are having trouble using the slider() functionality on the Maxwell Jupyter Hub Server here at DESY. The slider layout only partially renders; the iteration slider widget appears, but the other widgets such as field and particle selectors do not render.

All other functionality of the openPMD-viewer seems unaffected.

An example of what I see when I try to open the slider()

Screenshot 2023-02-16 at 20 37 16

Some useful info:

Is this just a Maxwell problem or perhaps something else?

ax3l commented 1 year ago

Thanks for reporting!

What is the version of

import ipywidgets
print(ipywidgets.__version__)

on Maxwell? The latest version is 8.0.4.

rob-shalloo commented 1 year ago

I'm pretty baffled. I have opened up the same notebook (untouched since posting this) and the problem has now magically resolved itself. No idea whats going on in the backend, but my installation hasn't changed in that time.

Screenshot 2023-03-23 at 09 27 41

Running

import ipywidgets
print(ipywidgets.__version__)

I have 7.7.3. So upgraded to 8.0.4 to see what happens and replicated the error above. Downgrading back to 7.7.3 seems to fix it again. Perhaps theres some back-end support for ipywidgets that is only being upgraded slowly on Maxwell?