Closed
Description
I'm running into a strange compatibility problem between wxPython and matplotlib.
import wx
import pylab
app = wx.App(False)
app.frame = wx.Frame(None)
app.frame.Centre()
app.frame.Show()
With matplotlib 1.5.0 or higher, this code will not run -- it hangs with no error on:
app = wx.App(False)
If I comment out "import pylab", it works fine. "import matplotlib" does not cause an error, but "import matplotlib.pyplot as plt" does.
With matplotlib 1.4.2, this code works fine as is, including the pylab import. This is with wxPython 3.0.2.0 and on OSX El Capitan.
I've looked for possible changes here: http://matplotlib.org/1.5.0/api/api_changes.html, but nothing appears relevant.
Any ideas about what's gone wrong?