From 4328647d12af5e3400e89aab11be5b4e7ee6d509 Mon Sep 17 00:00:00 2001 From: vbr Date: Tue, 31 Jul 2012 18:25:40 +0300 Subject: [PATCH] Update examples/user_interfaces/embedding_in_wx2.py Changed wx.NamedColor to wx.NamedColour for compatibility with wxpython 2.9. --- examples/user_interfaces/embedding_in_wx2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/user_interfaces/embedding_in_wx2.py b/examples/user_interfaces/embedding_in_wx2.py index b35c65af2bc0..2fe9d09376b6 100644 --- a/examples/user_interfaces/embedding_in_wx2.py +++ b/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)