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 5d486dc

Browse filesBrowse files
committed
Update examples/user_interfaces/mathtext_wx.py
Changed wx.NamedColor to wx.NamedColour for compatibility with wxpython 2.9.
1 parent 7e14561 commit 5d486dc
Copy full SHA for 5d486dc

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/mathtext_wx.py

Copy file name to clipboardExpand all lines: examples/user_interfaces/mathtext_wx.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def mathtext_to_wxbitmap(s):
3737
class CanvasFrame(wx.Frame):
3838
def __init__(self, parent, title):
3939
wx.Frame.__init__(self, parent, -1, title, size=(550, 350))
40-
self.SetBackgroundColour(wx.NamedColor("WHITE"))
40+
self.SetBackgroundColour(wx.NamedColour("WHITE"))
4141

4242
self.figure = Figure()
4343
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.