Fixes matplotlib import error for non-graphical systems.
Fixes matplotlib import error for non-graphical systems.

arushanova/echidna,mjmottram/echidna,ashleyrback/echidna,drjeannewilson/echidna,jwaterfield/echidna,snoplusuk/echidna