eeglab
eeglab copied to clipboard
Plot Single Trial Figure not deleting after pop_subcomp() completion
Description
'Plot single trials' figure not being deleted upon acceptance and completion for component removal during call to pop_subcomp()
#### Steps to Reproduce
- Obtain .set file that has undergone ICA decomposition
- Call pop_subcomp() providing data from step 1 as input with visualization turned on
- Select 'Plot Single Trials' option
- Select 'Accept' in main pop up
#### Expected behavior:
Expected plotted data figure to close
#### Actual behavior:
Single Trial data plotted figure remained after clicking 'Accept' and finishing component removal
#### Versions
| OS version | Windows 10 19042.1889 |
| Matlab version | R2021b |
| EEGLAB version | Eeglab 2021.0 |
You the EEGPLOT figure when component are being removed. Good point. This is a feature more than a bug. The figure is non modal. But we will have a look.