Skip to content
This repository

Update examples/user_interfaces/embedding_in_wx4.py #1050

Merged
merged 1 commit into from over 1 year ago

2 participants

vbr Michael Droettboom
vbr
vbr commented July 31, 2012

Changed wx.NamedColor to wx.NamedColour for compatibility with wxpython 2.9.

vbr Update examples/user_interfaces/embedding_in_wx4.py
Changed wx.NamedColor to wx.NamedColour for compatibility with wxpython 2.9.
a599ce7
Michael Droettboom mdboom merged commit c572637 into from July 31, 2012
Michael Droettboom mdboom closed this July 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jul 31, 2012
vbr Update examples/user_interfaces/embedding_in_wx4.py
Changed wx.NamedColor to wx.NamedColour for compatibility with wxpython 2.9.
a599ce7
This page is out of date. Refresh to see the latest.
2  examples/user_interfaces/embedding_in_wx4.py
@@ -61,7 +61,7 @@ def __init__(self):
61 61
         wx.Frame.__init__(self,None,-1,
62 62
                          'CanvasFrame',size=(550,350))
63 63
 
64  
-        self.SetBackgroundColour(wx.NamedColor("WHITE"))
  64
+        self.SetBackgroundColour(wx.NamedColour("WHITE"))
65 65
 
66 66
         self.figure = Figure(figsize=(5,4), dpi=100)
67 67
         self.axes = self.figure.add_subplot(111)
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.