Skip to content

Commit d12d48d

Browse files
FIX time in MEG inverse test and example
1 parent c36d445 commit d12d48d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/plot_meg_inverse_solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def time_label(t):
5050
time points (in seconds)
5151
"""
5252
time = np.linspace(stc['tmin'], stc['tmin'] + data.shape[1] * stc['tstep'],
53-
data.shape[1])
53+
data.shape[1], endpoint=False)
5454

5555
"""
5656
colormap to use

surfer/tests/test_viz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def test_meg_inverse():
192192
data = stc['data']
193193
vertices = stc['vertices']
194194
time = np.linspace(stc['tmin'], stc['tmin'] + data.shape[1] * stc['tstep'],
195-
data.shape[1])
195+
data.shape[1], endpoint=False)
196196
colormap = 'hot'
197197

198198
def time_label(t):

0 commit comments

Comments
 (0)