Skip to content

Commit

Permalink
Update examples/user_interfaces/mathtext_wx.py
Browse files Browse the repository at this point in the history
Changed wx.NamedColor to wx.NamedColour for compatibility with wxpython 2.9.
  • Loading branch information
vbr committed Jul 31, 2012
1 parent 7e14561 commit 5d486dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/user_interfaces/mathtext_wx.py
Expand Up @@ -37,7 +37,7 @@ def mathtext_to_wxbitmap(s):
class CanvasFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, -1, title, size=(550, 350))
self.SetBackgroundColour(wx.NamedColor("WHITE"))
self.SetBackgroundColour(wx.NamedColour("WHITE"))

self.figure = Figure()
self.axes = self.figure.add_subplot(111)
Expand Down

0 comments on commit 5d486dc

Please sign in to comment.