FFT_tools: Catch RuntimeErrors when importing matplotlib