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

Skip to content

Commit a599ce7

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/user_interfaces/embedding_in_wx4.py

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

64-
self.SetBackgroundColour(wx.NamedColor("WHITE"))
64+
self.SetBackgroundColour(wx.NamedColour("WHITE"))
6565

6666
self.figure = Figure(figsize=(5,4), dpi=100)
6767
self.axes = self.figure.add_subplot(111)

0 commit comments

Comments
 (0)