Skip to content

Commit

Permalink
Update examples/user_interfaces/embedding_in_wx2.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 4328647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/user_interfaces/embedding_in_wx2.py
Expand Up @@ -32,7 +32,7 @@ def __init__(self):
wx.Frame.__init__(self,None,-1,
'CanvasFrame',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 4328647

Please sign in to comment.