Changeset 8e4516f in sasview for guitools


Ignore:
Timestamp:
Apr 1, 2008 2:04:12 PM (17 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
52b1f77
Parents:
e40b651
Message:

Undid change that didn't make sense

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guitools/plottables.py

    r6cfe703 r8e4516f  
    344344        that it makes sense. 
    345345        """ 
    346         self.view.render() 
    347         #plot.xaxis(self._xaxis, self._xunit) 
    348         #plot.yaxis(self._yaxis, self._yunit) 
     346         
     347        plot.xaxis(self._xaxis, self._xunit) 
     348        plot.yaxis(self._yaxis, self._yunit) 
    349349         
    350350    def colors(self): 
     
    422422                 self.y[i] = func(y[i]) 
    423423                 self.dy[i] = errfunc(dy[i]) 
    424         def render(self,plot): 
    425             """The base class makes sure the correct units are being used for 
    426             subsequent plottable.   
    427              
    428             For now it is assumed that the graphs are commensurate, and if you  
    429             put a Qx object on a Temperature graph then you had better hope  
    430             that it makes sense. 
    431             """ 
    432             plot.xaxis(self._xaxis, self._xunit) 
    433             plot.yaxis(self._yaxis, self._yunit) 
    434                            
     424                  
    435425             
    436426 
Note: See TracChangeset for help on using the changeset viewer.