diff --git a/movie_start.py b/movie_start.py index c5a58e88458e51c860a52cc956790744e68415b4..9b074c6c3a31b9efaf7b235835438dbbde957117 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):