carrien / free-speech

Analysis and plotting code for speech neuroimaging experiments.
MIT License
4 stars 5 forks source link

Do not attempt to plot into a sub plot axes object if it does not exist #16

Closed Comeani closed 3 years ago

Comeani commented 3 years ago

Carrie made some changes a while back to skip plotting the RMS threshold subplot for experiments on the iEEG cart PC (no second monitor). Handling this case instead of erroring seems like a reasonable thing to do in the context of any experiment.

Comeani commented 3 years ago

Recently tested by Lana on lab experiment running machine, works fine after addition of isgraphics check on subAxis.