Skip to content

Commit

Permalink
DOC: Links
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Sep 5, 2019
1 parent 259bcfe commit 79b52e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ def reset_warnings(gallery_conf, fname):
# nibabel
'Nifti1Image': 'nibabel.nifti1.Nifti1Image',
'Nifti2Image': 'nibabel.nifti2.Nifti2Image',
'SpatialImage': '~nibabel.spatialimages.SpatialImage',
'SpatialImage': 'nibabel.spatialimages.SpatialImage',
# MNE
'Label': 'mne.Label', 'Forward': 'mne.Forward', 'Evoked': 'mne.Evoked',
'Info': 'mne.Info', 'SourceSpaces': 'mne.SourceSpaces',
Expand Down
5 changes: 2 additions & 3 deletions mne/viz/_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
from ..io.pick import pick_types, _picks_to_idx
from ..io.constants import FIFF
from ..io.meas_info import read_fiducials, create_info
from ..source_space import (_ensure_src, _create_surf_spacing, _check_spacing,
SourceSpaces)
from ..source_space import _ensure_src, _create_surf_spacing, _check_spacing

from ..surface import (get_meg_helmet_surf, read_surface,
transform_surface_to, _project_onto_surface,
Expand Down Expand Up @@ -1877,7 +1876,7 @@ def plot_volume_source_estimates(stc, src, subject=None, subjects_dir=None,
raise RuntimeError('This function requires nilearn >= 0.4')

from nilearn.plotting import plot_stat_map, plot_glass_brain
from nilearn.image import index_img, resample_to_img
from nilearn.image import index_img

_check_option('mode', mode, ('stat_map', 'glass_brain'))
plot_func = dict(stat_map=plot_stat_map,
Expand Down

0 comments on commit 79b52e2

Please sign in to comment.