8000 matplotlib 1.5 compatibility with wxPython · Issue #5737 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
matplotlib 1.5 compatibility with wxPython #5737
Closed
@moonshoes87

Description

@moonshoes87

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0