# Head opacity gone awry

**URL:** <https://mne.discourse.group/t/head-opacity-gone-awry/6982>\
**Category:** Support & Discussions\
**Tags:** visualization, coregistration\
**Created:** [May 29, 2023, 4:25am UTC](https://mne.discourse.group/t/head-opacity-gone-awry/6982 "2023-05-29T04:25:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zuferlot](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/zuferlot/32/2612_2.png) [@zuferlot](https://mne.discourse.group/u/zuferlot)\
**Post date:** [May 29, 2023, 4:25am UTC](https://mne.discourse.group/t/head-opacity-gone-awry/6982/1 "2023-05-29T04:25:22Z")

</div>

When I use the alignment function, there are only two types of head transparency, completely transparent and completely opaque, and the helmet does not appear even if I click on the helmet option

```python
import mne
mne.gui.coregistratino('test', subjects_dir=/home/test/meg, inst="test.fif")

```

 ![image](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/b/bfe54e07fbfa24cdb2491812deb38fa497c56182.jpeg)  
 ![image](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/e/eea99c21d6220bb415fca9f94e63e974416f43ca.jpeg)  
I think this is a bug

- MNE version:1.4.0\_1
- operating system: Ubuntu 20.04

---

<div class="post-metadata">

**Author:** ![agramfort](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@agramfort](https://mne.discourse.group/u/agramfort)\
**Post date:** [May 29, 2023, 7:32am UTC](https://mne.discourse.group/t/head-opacity-gone-awry/6982/2 "2023-05-29T07:32:51Z")

</div>

I don’t replicate your problem with:

```python
import mne

sample_dir = mne.datasets.sample.data_path()
sample_fname = sample_dir / 'MEG' / 'sample' / 'sample_audvis_raw.fif'
subjects_dir = sample_dir / 'subjects'
mne.gui.coregistration('sample', subjects_dir=subjects_dir, inst=sample_fname)

```

see

 ![Screenshot 2023-05-29 at 09.31.53](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/b/b7ad2863560ebffc8c46be80dfe117dae0d5bf9f.jpeg)  
 ![Screenshot 2023-05-29 at 09.30.47](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/1/1ce1e41460f81d37d0cd5a45c2f9e84d9af18cf1.jpeg)

Alex

---

<div class="post-metadata">

**Author:** ![zuferlot](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/zuferlot/32/2612_2.png) [@zuferlot](https://mne.discourse.group/u/zuferlot)\
**Post date:** [May 29, 2023, 7:39am UTC](https://mne.discourse.group/t/head-opacity-gone-awry/6982/3 "2023-05-29T07:39:08Z")

</div>

Hello，  
I use ubuntu20 and I think that might be the ubuntu‘s problem.  
I will try to borrow a computer and try Windows 10 in the morning.

Thank you
