Skip to content

Commit

Permalink
Improve camera focus of plot_read_inverse (mne-tools#6517)
Browse files Browse the repository at this point in the history
* Improve camera focus

* Use tuple for consistency
  • Loading branch information
GuillaumeFavelier authored and agramfort committed Jul 1, 2019
1 parent 87bd40c commit 73e9f22
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/inverse/plot_read_inverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import mne
from mne.datasets import sample
from mne.minimum_norm import read_inverse_operator
from mne.viz import set_3d_view

print(__doc__)

Expand Down Expand Up @@ -42,5 +43,6 @@
###############################################################################
# Show result on 3D source space

mne.viz.plot_alignment(subject='sample', subjects_dir=subjects_dir,
trans=fname_trans, surfaces='white', src=src)
fig = mne.viz.plot_alignment(subject='sample', subjects_dir=subjects_dir,
trans=fname_trans, surfaces='white', src=src)
set_3d_view(fig, focalpoint=(0., 0., 0.06))

0 comments on commit 73e9f22

Please sign in to comment.