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
|
||||
@@ -149,7 +149,7 @@ class MPLCanvasImg(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
|
||||
if event.inaxes == self.colBar.ax:
|
||||
#if event.guiEvent.LeftDClick()==True:
|
||||
@@ -209,7 +209,7 @@ class MPLCanvasImg(FigureCanvas):
|
||||
return
|
||||
for k in dir(event):
|
||||
if k[0]!='_':
|
||||
print k,getattr(event,k)
|
||||
print(k,getattr(event,k))
|
||||
|
||||
class MAxyPlotFrame(wx.Frame):
|
||||
def __del__(self):
|
||||
|
||||
Reference in New Issue
Block a user