Stc plot not interactive

  • MNE-Python version: 0.23.0
  • operating system: Linux-5.4.0-77, 18.04

I am trying to plot the volume source time series interactively. But I am not able to go the target slice when I click using the mouse.

https://mne.tools/stable/auto_tutorials/inverse/60_visualize_stc.html

are you using a notebook, or running the tutorial through the python or ipython interpreter? Or in an IDE’s embedded console?

Plot interactivity is very hard for us to achieve when plots are embedded in a notebook, for example, and sometimes IDEs will also try to capture plots, which might interfere with interactivity. Does it work if you run the tutorial through ipython in a system terminal?

Dear Dan,
Thanks for reply.
I am using Visual studio code IDE’s embedded console.
I executed the code in system terminal through both python and ipython, but no success in plotting interactively.

In the terminal I am geting this warning message "~/anaconda3/envs/mne/lib/python3.9/site-packages/nilearn/datasets/init.py:86: FutureWarning: Fetchers from the nilearn.datasets module will be updated in version 0.9 to return python strings instead of bytes and Pandas dataframes instead of Numpy arrays.

  • warn("Fetchers from the nilearn.datasets module will be* “”
    my nilearn version is .8.0 (latest)
    What else I can try?
    Thanks and Cheers,
    DJ