From 47e7059a11934bcb597b38f10cbf63b40deccbb4 Mon Sep 17 00:00:00 2001 From: Philipp Arras <parras@mpa-garching.mpg.de> Date: Wed, 1 Sep 2021 10:43:16 +0200 Subject: [PATCH] Cosmetics --- movie_start.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/movie_start.py b/movie_start.py index c5a58e8..9b074c6 100644 --- a/movie_start.py +++ b/movie_start.py @@ -32,14 +32,14 @@ def main(): with ift.random.Context(31): p = ift.Plot() n = 5 - for _ in range(5): # FIXME: should this be 'range(n)'? + for _ in range(n): pos = ift.from_random(sky.domain, 'normal') ss = sky(pos)['hi'] mi, ma = 0, np.max(ss.val) for ii in range(0, ss.shape[0], 4): extr = ift.DomainTupleFieldInserter(ss.domain, 0, (ii,)).adjoint p.add(extr(ss), zmin=mi, zmax=ma) - p.output(name=f'prior_samples.png', ny=n, xsize=28, ysize=9) + p.output(name='prior_samples.png', ny=n, xsize=28, ysize=9) print('Start inf check') for ii in range(20): -- GitLab