# some interactive figures do not appear in debug mode

**URL:** <https://mne.discourse.group/t/some-interactive-figures-do-not-appear-in-debug-mode/6562>\
**Category:** Support & Discussions\
**Tags:** preprocessing, visualization, evoked\
**Created:** [March 20, 2023, 2:35pm UTC](https://mne.discourse.group/t/some-interactive-figures-do-not-appear-in-debug-mode/6562 "2023-03-20T14:35:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bissera](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/bissera/32/1962_2.png) [@bissera](https://mne.discourse.group/u/bissera)\
**Post date:** [March 20, 2023, 2:35pm UTC](https://mne.discourse.group/t/some-interactive-figures-do-not-appear-in-debug-mode/6562/1 "2023-03-20T14:35:35Z")

</div>

Hi community,

I have an issue whereby some plots and figures show and others do not. For example, i can plot my EEG continuous data and my ICA components, but not my topo plots or my evoked potentials. I imagine it’s a problem with my matplotlib or other backend libraries, but i haven’t been able to figure it out. It’s a bit annoying because i can’t work with the interactive plots ☹ Below the versions of my os and packages i think are relevant.

mac os 12.3.1  
Python 3.9.13  
matplotlib 3.6.2  
mne 1.2.3  
mne qt browser 0.4.0

In order to have my continuous signal plot working my code starts with:

```python
from mne.viz import set_browser_backend
set_browser_backend('qt')

```

I call the plots as per tutorials, for example:

```python
ica.plot_sources(forica, show_scrollbars=True, start=500, stop=560, block=False)
ica.plot_components(ch_type='eeg')
evoked.plot(picks=vertex)
mne.viz.plot_compare_evokeds(evodict[i], picks=vertex, combine='mean')

```

Many thanks for your help,  
bissera

---

<div class="post-metadata">

**Author:** ![mscheltienne](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/mscheltienne/32/827_2.png) [@mscheltienne](https://mne.discourse.group/u/mscheltienne)\
**Post date:** [March 20, 2023, 6:21pm UTC](https://mne.discourse.group/t/some-interactive-figures-do-not-appear-in-debug-mode/6562/2 "2023-03-20T18:21:20Z")

</div>

Hello,

Are you by any chance using a Jupyter notebook?  
In this case you need to enter `%matplotlib qt` in one of your cells (before the plots). It will change the matplotlib backend from inline to the interactive Qt.

Mathieu
