openmc.plot_inline

openmc.plot_inline(plots, openmc_exec='openmc', cwd='.', path_input=None)[source]

Display plots inline in a Jupyter notebook.

Changed in version 0.13.0: The convert_exec argument was removed since OpenMC now produces .png images directly.

Parameters
  • 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

  • path_input (str) –

    Path to a single XML file or a directory containing XML files for the OpenMC executable to read.

    New in version 0.13.3.

Raises

RuntimeError – If the openmc executable returns a non-zero status