Commit b1939f59 authored by Christian Brodbeck's avatar Christian Brodbeck

FIX: make screenshot() before starting movie

parent 79beb158
......@@ -2250,6 +2250,9 @@ class Brain(object):
logger.debug("Save movie for time points/samples\n%s\n%s"
% (times, time_idx))
# Sometimes the first screenshot is rendered with a different
# resolution
_ = self.screenshot()
images = (self.screenshot() for _ in
self._iter_time(time_idx, interpolation))
imageio.mimwrite(fname, images, **kwargs)
......
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