Changeset 3323 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Mar 28, 2018 6:22:44 PM (5 years ago)
Author:
toby
Message:

fix image plotting at expense of 'w' plots; note code to be obsoleted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3320 r3323  
    429429                Plot = Page.figure.gca()          #get previous plot
    430430                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                #======================================================================
    433437#                    print('Axes[1]',Axes[1].get_ylim())
    434438#                print ('Plot limits:',limits,Axes)
Note: See TracChangeset for help on using the changeset viewer.