Pyvista mesh plot not working with fenicsx

I would suggest posting this as an issue at the Pyvista Github as this seems to be unrelated to any DOLFINx functionality.

Running your code snippet, I get:

/usr/local/lib/python3.10/dist-packages/pyvista/jupyter/pv_pythreejs.py:436: UserWarning: Empty or unsupported dataset attached to actor
  warnings.warn('Empty or unsupported dataset attached to actor')