Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update examples/user_interfaces/embedding_in_wx2.py #1049

Merged
merged 1 commit into from

2 participants

@vbr

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

@vbr vbr Update examples/user_interfaces/embedding_in_wx2.py
Changed wx.NamedColor to wx.NamedColour for compatibility with wxpython 2.9.
4328647
@mdboom
Owner

Thanks. Testing fine in wx 2.8.12.0

@mdboom mdboom merged commit 792972d into from
@mdboom mdboom merged commit 4328647 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 31, 2012
  1. @vbr

    Update examples/user_interfaces/embedding_in_wx2.py

    vbr authored
    Changed wx.NamedColor to wx.NamedColour for compatibility with wxpython 2.9.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/user_interfaces/embedding_in_wx2.py
View
2  examples/user_interfaces/embedding_in_wx2.py
@@ -32,7 +32,7 @@ def __init__(self):
wx.Frame.__init__(self,None,-1,
'CanvasFrame',size=(550,350))
- self.SetBackgroundColour(wx.NamedColor("WHITE"))
+ self.SetBackgroundColour(wx.NamedColour("WHITE"))
self.figure = Figure()
self.axes = self.figure.add_subplot(111)
Something went wrong with that request. Please try again.