# stc visualization issues

**URL:** <https://mne.discourse.group/t/stc-visualization-issues/6098>\
**Category:** Support & Discussions\
**Tags:** visualization\
**Created:** [December 23, 2022, 9:03am UTC](https://mne.discourse.group/t/stc-visualization-issues/6098 "2022-12-23T09:03:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bonokat](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/bonokat/32/1901_2.png) [@bonokat](https://mne.discourse.group/u/bonokat)\
**Post date:** [December 23, 2022, 9:03am UTC](https://mne.discourse.group/t/stc-visualization-issues/6098/1 "2022-12-23T09:03:51Z")

</div>

- 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()`:

 ![image](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/c/c68fb3cec253c78a07e55eaebb5245daeecb0fc6.png)

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

---

<div class="post-metadata">

**Author:** ![jstout211](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/jstout211/32/180_2.png) [@jstout211](https://mne.discourse.group/u/jstout211)\
**Post date:** [December 23, 2022, 2:21pm UTC](https://mne.discourse.group/t/stc-visualization-issues/6098/2 "2022-12-23T14:21:14Z")

</div>

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.

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

```

–Jeff

---

<div class="post-metadata">

**Author:** ![bonokat](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/bonokat/32/1901_2.png) [@bonokat](https://mne.discourse.group/u/bonokat)\
**Post date:** [December 24, 2022, 9:58am UTC](https://mne.discourse.group/t/stc-visualization-issues/6098/3 "2022-12-24T09:58:49Z")

</div>

> [@jstout211](#):
>
> ```python
> import os
> os.environ['MNE_3D_OPTION_ANTIALIAS']='false'   
> 
> ```

It worked! Thank you very much 🙂
