Replies: 7 comments
-
How are you starting the docker container? Are you forwarding the necessary ports for a graphical user interface? Are you using a Python script or a notebook? |
Beta Was this translation helpful? Give feedback.
-
This does work: I have a GUI that pops up and I can navigate the into the colored mesh
But this doesn't work: the visualization stalls
Did I miss something?
Yes
Yes
python script |
Beta Was this translation helpful? Give feedback.
-
Any clue so far? |
Beta Was this translation helpful? Give feedback.
-
Please note that is the weekend, and it doesn't help adding extra posts here. |
Beta Was this translation helpful? Give feedback.
-
Sorry didn't meant to disturb. As I work, I can only deal with that topic by the week-end.
Worked, thanks! Do you want me to PR this change? |
Beta Was this translation helpful? Give feedback.
-
No, as it stands, most pyvista visualization needs xvfb (for instance in jupyter notebook or for screenshots). As the tutorial is based on the ipynb scripts (to render the webpage) I need start_xvfb() to run and render plots there. What you could do is to add a comment or separate section about plotting in chapter1, where one goes through what is needed for various plotting methods. |
Beta Was this translation helpful? Give feedback.
-
Is #133 OK? |
Beta Was this translation helpful? Give feedback.
-
Using docker image as explained here https://github.com/FEniCS/dolfinx/blob/main/README.md#installation.
Following https://jsdokken.com/dolfinx-tutorial/chapter2/linearelasticity_code.html, I end up with pyvista freezing (no GUI + stall => compelled to ctrl-C):
Any clue?
Beta Was this translation helpful? Give feedback.
All reactions