From 5d486dcfed8e565345c2420b3483323ceccbe6b9 Mon Sep 17 00:00:00 2001 From: vbr Date: Tue, 31 Jul 2012 18:31:02 +0300 Subject: [PATCH] Update examples/user_interfaces/mathtext_wx.py Changed wx.NamedColor to wx.NamedColour for compatibility with wxpython 2.9. --- examples/user_interfaces/mathtext_wx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/user_interfaces/mathtext_wx.py b/examples/user_interfaces/mathtext_wx.py index 06197bb164ed..84e0f98c1b9e 100644 --- a/examples/user_interfaces/mathtext_wx.py +++ b/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)