8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af550f4 commit a6ef84bCopy full SHA for a6ef84b
examples/user_interfaces/embedding_in_wx2.py
@@ -60,11 +60,6 @@ def __init__(self):
60
self.Fit()
61
62
self.add_toolbar() # comment this out for no toolbar
63
- self.Bind(wx.EVT_PAINT, self.OnPaint)
64
-
65
- def OnPaint(self, event):
66
- self.canvas.draw()
67
- event.Skip()
68
69
def add_toolbar(self):
70
self.toolbar = NavigationToolbar2Wx(self.canvas)
@@ -92,10 +87,6 @@ def add_toolbar(self):
92
87
self.toolbar.update()
93
88
94
89
95
96
97
98
99
90
class App(wx.App):
100
91
101
def OnInit(self):
0 commit comments