Commit 4a5d7b72 authored by Martin Reinecke's avatar Martin Reinecke

cosmetics

parent 2302056e
......@@ -359,7 +359,9 @@ def plot_finish(**kwargs):
ny = kwargs.pop("ny", int(np.ceil(np.sqrt(nplot))))
if nx*ny < nplot:
raise ValueError(
'Figure dimensions not sufficient for number of plots. Available plot slots: {}, number of plots: {}'.format(nx*ny, nplot))
'Figure dimensions not sufficient for number of plots. '
'Available plot slots: {}, number of plots: {}'
.format(nx*ny, nplot))
xsize = kwargs.pop("xsize", 6)
ysize = kwargs.pop("ysize", 6)
fig.set_size_inches(xsize, ysize)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment