Address @wbinventor comments on #826

This commit is contained in:
Paul Romano 2017-03-10 10:43:01 -06:00
parent f342b2a93d
commit d2c7486cfc
3 changed files with 21 additions and 12 deletions

View file

@ -48,6 +48,10 @@ def plot_geometry(output=True, openmc_exec='openmc', cwd='.'):
def plot_inline(plots, openmc_exec='openmc', cwd='.', convert_exec='convert'):
"""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
<https://www.imagemagick.org>`_ which includes a `convert` command.
Parameters
----------
plots : Iterable of openmc.Plot