I am trying to visualize raw EEG signal on a plot, add annotations manually and save it in a new annotation file. The plot does open, and I am able to add annotations. However, after I close out of the plot, the new annotation file does not get saved, and the code never ‘completes’ execution, as if it crashed. Any suggestions?
not really an answer, but could it be the environment? → are you doing this in a simple .py script started from the terminal, or in an ipython session or a jupyter notebook?