Changeset 3323
- Timestamp:
- Mar 28, 2018 6:22:44 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r3320 r3323 429 429 Plot = Page.figure.gca() #get previous plot 430 430 limits = [Plot.get_xlim(),Plot.get_ylim()] # save previous limits 431 if len(Axes)>1: 432 limits[1] = Axes[1].get_ylim() 431 #====================================================================== 432 # this is needed for PWDR (etc) "w" plots, but breaks image plotting 433 # removed for now (BHT) 434 #if len(Axes)>1: 435 # limits[1] = Axes[1].get_ylim() 436 #====================================================================== 433 437 # print('Axes[1]',Axes[1].get_ylim()) 434 438 # print ('Plot limits:',limits,Axes) -
trunk/imports/G2img_1TIF.py
r3195 r3323 70 70 import scipy.misc 71 71 self.Image = scipy.misc.imread(filename,flatten=True) 72 # for scipy 1.2 & later scipy.misc.imread will be removed 73 # with note to use imageio.imread instead 74 # (N.B. scipy.misc.imread uses PIL/pillow perhaps better to just use pillow) 72 75 self.Npix = self.Image.size 73 76 if ParentFrame:
Note: See TracChangeset
for help on using the changeset viewer.