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

Does pyvista/trame require ipywidgets? Also, should we use trame-jupyter-extension by default? #63

Open
johnkit opened this issue Mar 9, 2024 · 1 comment

Comments

@johnkit
Copy link

johnkit commented Mar 9, 2024

When I install from the pyvista-xarray source and run the examples, Jupyter displays a static image and a warning that it "Failed to use notebook backend" and instructs me to install ipywidgets. Screenshot is below.

  • Installing ipywidgets fixes the problem. Is there something in our code that requires ipython?
  • Separate from that: should we include trame-jupyter-extension in the examples/requirements.txt?, My understanding is that the extension is only needed when using a remote Jupyter server on a host with port constraints, but perhaps we should standardize on including the extension by default?
  • Oh, and because I just noticed, I think we also need to update the examples/requirements.txt file to change pyvista to pyvista[trame].

image

@jourdain
Copy link

jourdain commented Mar 9, 2024

I guess it you aim to use it in jupyter, you should install pyvista[jupyter]

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

No branches or pull requests

2 participants