If you are running (like me) the container in VS Code or something that is not jupyter lab, try this, that worked for my case:
https://fenicsproject.discourse.group/t/cannot-display-pyvista-plot-in-docker-container/8202/9
If you are running (like me) the container in VS Code or something that is not jupyter lab, try this, that worked for my case:
https://fenicsproject.discourse.group/t/cannot-display-pyvista-plot-in-docker-container/8202/9