|
From: Wes M. <wes...@gm...> - 2011-11-02 21:17:01
|
Hi guys, Is there a common practice for unit testing code that creates matplotlib plots? I'm mainly just interested in code coverage versus correctness (making sure the code *works*) for now. I guess one way would be to disable the GUI backend so GUI elements don't get created (if the user is running the test suite from inside IPython in pylab mode, for example). Any tips or pointers to projects that do this would be very helpful. Thanks, Wes |