Permalink
Browse files

Update examples/user_interfaces/embedding_in_wx2.py

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

0 comments on commit 4328647

Please sign in to comment.