Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues rendering OpenPMDTimeSeries Interactive Viewer #361

Open
rob-shalloo opened this issue Feb 16, 2023 · 2 comments
Open

Issues rendering OpenPMDTimeSeries Interactive Viewer #361

rob-shalloo opened this issue Feb 16, 2023 · 2 comments

Comments

@rob-shalloo
Copy link

rob-shalloo commented Feb 16, 2023

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:

  • Trying to view the openPMD-viewer sample dataset
  • Its a problem not just with the new version of openPMD, but also with version 1.4
  • But running snippets of the source code, I can get some individual elements of the field and particle select widgets to run, but it seems to fail for a number of them and this follows through when combining them
  • There is no problem rendering the whole thing on a local machine

Is this just a Maxwell problem or perhaps something else?

@ax3l
Copy link
Member

ax3l commented Mar 22, 2023

Thanks for reporting!

What is the version of

import ipywidgets
print(ipywidgets.__version__)

on Maxwell? The latest version is 8.0.4.

@rob-shalloo
Copy link
Author

rob-shalloo commented Mar 23, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants