Permalink
Browse files

Update examples/user_interfaces/mathtext_wx.py

Changed wx.NamedColor to wx.NamedColour for compatibility with wxpython 2.9.
  • Loading branch information...
1 parent 7e14561 commit 5d486dcfed8e565345c2420b3483323ceccbe6b9 @vbr committed Jul 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/user_interfaces/mathtext_wx.py
@@ -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)

0 comments on commit 5d486dc

Please sign in to comment.