11. Plotting interface
Since meshes are a quite complicated data structure (at least compared to simple grids), pyoomph has a built-in feature to plot meshes and fields. Currently, this only works for two-dimensional meshes, but it is envisioned to also support this for one- and three-dimensional domains in future.
To activate plotting, one has to set the plotter property of the Problem class to either an instance or a list of instances of the class MatplotlibPlotter, which is defined in the module pyoomph.output.plotting. After each output() call, plots will be generated automatically.