wip
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
'''
|
||||
implements an image view to show a colored image of a hdf5 dataset.
|
||||
'''
|
||||
|
||||
from __future__ import print_function
|
||||
if __name__ == '__main__':
|
||||
#Used to guarantee to use at least Wx2.8
|
||||
import wxversion
|
||||
@@ -100,12 +100,12 @@ class MPLCanvasVelo(FigureCanvas):
|
||||
|
||||
def OnBtnPress(self, event):
|
||||
"""on button press we will see if the mouse is over us and store some data"""
|
||||
print dir(event.guiEvent)
|
||||
print(dir(event.guiEvent))
|
||||
return
|
||||
|
||||
def OnBtnRelease(self, event):
|
||||
"""on release we reset the press data"""
|
||||
print dir(event.guiEvent)
|
||||
print(dir(event.guiEvent))
|
||||
#self.OnMouse(event)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user