File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,6 @@ def __init__(
195
195
)
196
196
self ._in_brain_figure = False
197
197
198
- self ._renderer .set_interaction (interaction )
199
198
self .plotter = self ._renderer .plotter
200
199
self .interaction = interaction
201
200
@@ -243,6 +242,7 @@ def current_time_func():
243
242
subscribe (self , "contours" , self ._on_contours )
244
243
245
244
if not self ._in_brain_figure :
245
+ self ._renderer .set_interaction (interaction )
246
246
self ._renderer .set_camera (azimuth = 10 , elevation = 60 , distance = "auto" )
247
247
self ._renderer .show ()
248
248
Original file line number Diff line number Diff line change 76
76
link (fig_brain , fig_field )
77
77
fig_brain .set_time (0.1 ) # updates both source estimate and field lines
78
78
79
-
80
79
########################################################################################
81
80
# Hooking a custom plot into the event system
82
81
# ===========================================
You can’t perform that action at this time.
0 commit comments