mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Merge pull request #2313 from valeriogiusti/valeriogiusti-patch-2
Update universe.py
This commit is contained in:
commit
772810a643
1 changed files with 1 additions and 1 deletions
|
|
@ -361,7 +361,7 @@ class Universe(UniverseBase):
|
|||
img_path = Path(tmpdir) / f'plot_{plot.id}.png'
|
||||
if not img_path.is_file():
|
||||
img_path = img_path.with_suffix('.ppm')
|
||||
img = mpimg.imread(img_path)
|
||||
img = mpimg.imread(str(img_path))
|
||||
|
||||
# Create a figure sized such that the size of the axes within
|
||||
# exactly matches the number of pixels specified
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue