Changeset 2297 for trunk/GSASIIplot.py
- Timestamp:
- May 27, 2016 11:25:21 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r2284 r2297 289 289 if pid: self.G2frame.PatternTree.SelectItem(pid) 290 290 self.allowZoomReset = True 291 # print 'invoke',str(self).split('0x')[1] 291 # print 'invoke',str(self).split('0x')[1],str(pid) 292 292 293 293 class GSASIItoolbar(Toolbar): … … 2676 2676 Page.Choice = None 2677 2677 G2frame.G2plotNB.RaisePageNoRefresh(Page) 2678 G2frame.G2plotNB.skipPageChange = True #to keep Stress/Strain data tab visible 2678 2679 G2frame.G2plotNB.status.DestroyChildren() 2679 2680 Plot.set_title('Strain') … … 3949 3950 ypix = int(ypos*scaley) 3950 3951 Int = 0 3951 if (0 <= xpix < = sizexy[0]) and (0 <= ypix <=sizexy[1]):3952 if (0 <= xpix < sizexy[0]) and (0 <= ypix < sizexy[1]): 3952 3953 Int = G2frame.ImageZ[ypix][xpix] 3953 3954 tth,azm,D,dsp = G2img.GetTthAzmDsp(xpos,ypos,Data) … … 4111 4112 G2frame.StrainKey = '' 4112 4113 G2imG.UpdateStressStrain(G2frame,StrSta) 4113 PlotStrain(G2frame,StrSta)4114 4114 wx.CallAfter(PlotImage,G2frame,newPlot=False) 4115 4115 else: … … 4236 4236 if not event: #event from GUI TextCtrl - don't want focus to change to plot!!! 4237 4237 G2frame.G2plotNB.RaisePageNoRefresh(Page) 4238 G2frame.G2plotNB.skipPageChange = True 4238 4239 Title = G2frame.PatternTree.GetItemText(G2frame.Image)[4:] 4239 4240 G2frame.G2plotNB.status.DestroyChildren()
Note: See TracChangeset
for help on using the changeset viewer.