Changeset 8e44d51 in sasview for guitools/plottables.py
- Timestamp:
- Apr 16, 2008 10:22:24 AM (16 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guitools/plottables.py
r831149e r8e44d51 40 40 41 41 # Support for ancient python versions 42 import copy 43 import numpy 44 42 45 if 'any' not in dir(__builtins__): 43 46 def any(L): … … 434 437 @param errfunc: function to apply to errors 435 438 """ 436 import copy 437 import numpy 439 438 440 439 441 # Sanity check … … 483 485 @param errfunc: function to apply to errors dy 484 486 """ 485 import copy486 import numpy487 487 # Sanity check 488 488 has_x = False … … 589 589 def changed(self): 590 590 return False 591 591 592 @classmethod 592 593 def labels(cls, collection): … … 598 599 return map 599 600 600 601 601 602 602 class Fit1D(Plottable): 603 603 """Fit plottable: composed of a data line plus a theory line. This
Note: See TracChangeset
for help on using the changeset viewer.