Refactored the draw method in mpl.py and also the code from backend_wxagg_erpy.py into a single ErpyFigure class that encapsulates all of the buffering/reloading. Right now the semantics are kind of messed up, and I intend to refactor ErpyFigure into some sort of ErpyAxes class so that subplots will work with this.