Skip to content

Commit

Permalink
multline string
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed May 9, 2024
2 parents 6709070 + 0b0198b commit 893acfe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/openmc_regular_mesh_plotter/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,12 @@ def plot_mesh_tally(
fig.colorbar(im, **colorbar_kwargs)

if outline and geometry is None:
raise ValueError('When calling plot_mesh_tally with outline=True the geometry should also be provided. Either set outline to False or set the geometry to and openmc.Geometry object')
msg = (
"When calling plot_mesh_tally with outline=True the geometry "
"should also be provided. Either set outline to False or set "
"the geometry to and openmc.Geometry object"
)
raise ValueError(msg)
if outline and geometry is not None:
import matplotlib.image as mpimg

Expand Down

0 comments on commit 893acfe

Please sign in to comment.