- You have not specified what version of DOLFIN you are using (legacy or DOLFINx).
- Plotting in script with MPI is not recommended, it requires quite a lot of work to plot on one process, see for instance: Gather solutions in parallel in FEniCSX - #2 by dokken