Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
4a5d7b72
Commit
4a5d7b72
authored
Jul 25, 2018
by
Martin Reinecke
Browse files
cosmetics
parent
2302056e
Changes
1
Show whitespace changes
Inline
Side-by-side
nifty5/plotting/plot.py
View file @
4a5d7b72
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment