Changeset 1281
- Timestamp:
- Apr 17, 2014 4:09:14 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIgrid.py
r1277 r1281 4103 4103 data = G2frame.PatternTree.GetItemPyData(item) 4104 4104 G2pdG.UpdateModelsGrid(G2frame,data) 4105 G2plt.PlotPatterns(G2frame,plotType='SASD')4106 4105 if len(data['Size']['Distribution']): 4107 4106 G2plt.PlotSASDSizeDist(G2frame) 4107 G2plt.PlotPatterns(G2frame,plotType='SASD') 4108 4108 elif G2frame.PatternTree.GetItemText(item) == 'Substances': 4109 4109 G2frame.PatternId = G2frame.PatternTree.GetItemParent(item) -
trunk/GSASIIplot.py
r1274 r1281 689 689 G2frame.itemPicked = None 690 690 691 xylim = []692 691 try: 693 692 plotNum = G2frame.G2plotNB.plotList.index('Powder Patterns') … … 712 711 Page.canvas.mpl_connect('button_release_event', OnRelease) 713 712 Page.canvas.mpl_connect('button_press_event',OnPress) 714 Page.SetFocus() 713 if plottype == 'PWDR': # avoids a very nasty clash with KILL_FOCUS in SASD TextCtrl? 714 Page.SetFocus() 715 715 G2frame.G2plotNB.status.DestroyChildren() 716 716 if G2frame.Contour: … … 1022 1022 Plot.set_xlim(xylim[0]) 1023 1023 Plot.set_ylim(xylim[1]) 1024 xylim = []1024 # xylim = [] 1025 1025 Page.toolbar.push_current() 1026 1026 Page.toolbar.draw()
Note: See TracChangeset
for help on using the changeset viewer.