Why do you need `matplotlib` to test this? I assume that you did some debugging with plotting at some point, but this import might not be necessary any more. If it is, please set it up with the tripwire mechanism. Also `from foo import *` is a no no. Consider importing what you need or a namespace.