Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4328647

Browse filesBrowse 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
Copy full SHA for 4328647

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎examples/user_interfaces/embedding_in_wx2.py

Copy file name to clipboardExpand all lines: examples/user_interfaces/embedding_in_wx2.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.