Fixed matplotlib backend issue using wxPython.