Skip to content

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

@johnkit

Description

@johnkit

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions