Mesh plots not showing up

None of my mesh plots are showing up anymore, both in my own code and in the tutorials on binder eg the linear elasticity tutorial).

I’m running dolfinx version 0.5.1.0. In version 0.3.1.0, using the same code I used to get an image, but in 0.5.1.0 I just get a message like the following:

While I was previously running my own code on version 0.3.1, the tutorials were presumably always on 0.5.1 so I’m not sure why the mesh plots there have stopped working for me. “Normal” plots still work, ie I can do this:
Screenshot 2022-09-16 135453

It seems like maybe the mesh plots are being plotted on the backend, as I can save screenshots and view them separately, but as I am using 3D meshes I would like to be able to view them interactively.

Any help with this would be much appreciated!

Try downgrading ipywidgets, as there is a known incompatibility issue: `pyvista` (`pythreejs` or `ipygany` backend) incompatible with `ipywidgets>7.7.2.` · Issue #3274 · pyvista/pyvista · GitHub

1 Like

That worked, thank you!!