@@ -2087,8 +2087,7 @@ def save_montage(self, filename, order=['lat', 'ven', 'med'],
2087
2087
2088
2088
def save_movie (self , fname , time_dilation = 4. , tmin = None , tmax = None ,
2089
2089
montage = 'current' , colorbar = 'auto' , border_size = 15 ,
2090
- framerate = 25 , interpolation = 'quadratic' , codec = 'mpeg4' ,
2091
- row = - 1 , col = - 1 ):
2090
+ framerate = 25 , interpolation = 'quadratic' , codec = 'mpeg4' ):
2092
2091
"""Save a movie (for data with a time axis)
2093
2092
2094
2093
.. Warning::
@@ -2108,10 +2107,9 @@ def save_movie(self, fname, time_dilation=4., tmin=None, tmax=None,
2108
2107
First time point to include (default: all data).
2109
2108
tmax : float
2110
2109
Last time point to include (default: all data).
2111
- montage: 'current' | 'single' | list
2110
+ montage: 'current' | list
2112
2111
Views to include in the images: 'current' (default) uses the
2113
- currently displayed image; 'single' uses a single view, specified
2114
- by the ``row`` and ``col`` parameters; a 1 or 2 dimensional list
2112
+ currently displayed image; a 1 or 2 dimensional list
2115
2113
can be used to specify a complete montage. Examples:
2116
2114
``['lat', 'med']`` lateral and ventral views ordered horizontally;
2117
2115
``[['fro'], ['ven']]`` frontal and ventral views ordered vertically.
@@ -2128,10 +2126,6 @@ def save_movie(self, fname, time_dilation=4., tmin=None, tmax=None,
2128
2126
default 'quadratic').
2129
2127
codec : str
2130
2128
Codec to use (default 'mpeg4').
2131
- row : int
2132
- row index of the brain to use (default -1).
2133
- col : int
2134
- column index of the brain to use (default -1).
2135
2129
"""
2136
2130
if not has_ffmpeg ():
2137
2131
err = ("FFmpeg is needed for saving movies and was not found in "
@@ -2170,7 +2164,7 @@ def save_movie(self, fname, time_dilation=4., tmin=None, tmax=None,
2170
2164
tempdir = mkdtemp ()
2171
2165
frame_pattern = 'frame%%0%id.png' % (np .floor (np .log10 (n_times )) + 1 )
2172
2166
fname_pattern = os .path .join (tempdir , frame_pattern )
2173
- self .save_image_sequence (time_idx , fname_pattern , False , row , col ,
2167
+ self .save_image_sequence (time_idx , fname_pattern , False , - 1 , - 1 ,
2174
2168
montage , border_size , colorbar , interpolation )
2175
2169
ffmpeg (fname , fname_pattern , framerate , codec )
2176
2170
0 commit comments