Changeset 8e44d51 in sasview for guitools/plottables.py


Ignore:
Timestamp:
Apr 16, 2008 10:22:24 AM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
35891ce
Parents:
3aa7074
Message:

one more bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guitools/plottables.py

    r831149e r8e44d51  
    4040 
    4141# Support for ancient python versions 
     42import copy 
     43import numpy 
     44 
    4245if 'any' not in dir(__builtins__): 
    4346    def any(L): 
     
    434437                @param errfunc: function to apply to errors 
    435438            """ 
    436             import copy 
    437             import numpy 
     439             
    438440             
    439441            # Sanity check 
     
    483485                @param errfunc: function to apply to errors dy 
    484486            """ 
    485             import copy 
    486             import numpy 
    487487            # Sanity check 
    488488            has_x = False 
     
    589589    def changed(self): 
    590590        return False 
     591     
    591592    @classmethod 
    592593    def labels(cls, collection): 
     
    598599        return map 
    599600    
    600  
    601  
     601    
    602602class Fit1D(Plottable): 
    603603    """Fit plottable: composed of a data line plus a theory line.  This 
Note: See TracChangeset for help on using the changeset viewer.