openmc.plot_inline(plots, openmc_exec='openmc', cwd='.', convert_exec='convert')[source]

Display plots inline in a Jupyter notebook.

This function requires that you have a program installed to convert PPM files to PNG files. Typically, that would be ImageMagick which includes a convert command.

  • plots (Iterable of openmc.Plot) – Plots to display
  • openmc_exec (str) – Path to OpenMC executable
  • cwd (str, optional) – Path to working directory to run in
  • convert_exec (str, optional) – Command that can convert PPM files into PNG files

subprocess.CalledProcessError – If the openmc executable returns a non-zero status