stc visualization issues

  • MNE version: 1.1.1
  • operating system: Windows 10

Dear all,

I am struggling with visualization issues. I am implementing source reconstruction with LCMV beamformer and keep getting black-screen models.

Here’s the example of a figure created using SourceEstimate.plot():

Another function that gives similar output:
mne.viz.plot_alignment()

I don’t know if this is the issue, but I suspect it is the antialias option, in bash I have it set in my .bashrc as
export MNE_3D_OPTION_ANTIALIAS=false

Since you are on windows I dont’ know how to set this, but you might put this at the top of your script before the vizualization. And I think it has to be the string ‘false’ versus the boolean False.

import os
os.environ['MNE_3D_OPTION_ANTIALIAS']='false'   
stc.plot(....)

–Jeff

1 Like

It worked! Thank you very much :slight_smile: