FFT_tools: Catch RuntimeErrors when importing matplotlib master
authorW. Trevor King <wking@tremily.us>
Tue, 15 Jan 2013 16:08:56 +0000 (11:08 -0500)
committerW. Trevor King <wking@tremily.us>
Tue, 15 Jan 2013 16:08:56 +0000 (11:08 -0500)
commit184f9fe2f74999efe33894db337ef025970ec1ff
tree0495cbe0e740be319bf129b741004f5832c74132
parent27f87d1cb575d7378c946c935efb483dc2f286da
FFT_tools: Catch RuntimeErrors when importing matplotlib

For example, if your default backend is GTKAgg, but you don't have
$DISPLAY set, you can get:

  RuntimeError: could not create GdkCursor object
FFT_tools.py