openmc.plot_inline¶
-
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.
Parameters: Raises: subprocess.CalledProcessError
– If the openmc executable returns a non-zero status