This commit is contained in:
zamofing_t committed 2018-12-03 16:33:38 +01:00
1 parent 1c77690711
commit 69b31e4474
2 files changed
+71 -5

No files matched your search

+1
View File
@@ -36,6 +36,7 @@ class MPLCanvasImg(FigureCanvas):
self.SetStatusCB=SetStatusCB
fig = mpl.figure.Figure()
ax = fig.add_axes([0.075,0.075,0.85,0.85])
ax.invert_xaxis();ax.invert_yaxis()
FigureCanvas.__init__(self,parent, -1, fig)
self.mpl_connect('motion_notify_event', self.OnMotion)
self.mpl_connect('button_press_event', self.OnBtnPress)