Changeset 2ca51f44 in sasview


Ignore:
Timestamp:
Apr 6, 2011 8:50:26 AM (14 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
ba64348
Parents:
1b1bbf9
Message:

correction of y label on cir. average

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/Plotter2D.py

    r6d727ae r2ca51f44  
    463463        ## If the data file does not tell us what the axes are, just assume... 
    464464        new_plot.xaxis("\\rm{Q}", "A^{-1}") 
    465         if hasattr(self.data2D, "scale"): 
    466             if self.data2D.scale == 'linear': 
    467                 new_plot.ytransform = 'y' 
    468                 new_plot.yaxis("\\rm{Residuals} ", "normalized") 
     465        if hasattr(self.data2D, "scale") and \ 
     466                    self.data2D.scale == 'linear': 
     467            new_plot.ytransform = 'y' 
     468            new_plot.yaxis("\\rm{Residuals} ", "normalized") 
    469469        else: 
    470470            new_plot.yaxis("\\rm{Intensity} ", "cm^{-1}") 
Note: See TracChangeset for help on using the changeset viewer.