Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4328647

Browse files
committed
Update examples/user_interfaces/embedding_in_wx2.py
Changed wx.NamedColor to wx.NamedColour for compatibility with wxpython 2.9.
1 parent 7e14561 commit 4328647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/user_interfaces/embedding_in_wx2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __init__(self):
3232
wx.Frame.__init__(self,None,-1,
3333
'CanvasFrame',size=(550,350))
3434

35-
self.SetBackgroundColour(wx.NamedColor("WHITE"))
35+
self.SetBackgroundColour(wx.NamedColour("WHITE"))
3636

3737
self.figure = Figure()
3838
self.axes = self.figure.add_subplot(111)

0 commit comments

Comments
 (0)