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)