Changeset 624
- Timestamp:
- 05/05/05 12:27:12 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Release-1-fixes/python/asapfitter.py
r526 r624 132 132 if len(ps) == 0: 133 133 self.fitter.estimate() 134 self.fitter.fit() 134 try: 135 self.fitter.fit() 136 except RuntimeError, msg: 137 print msg 135 138 self._fittedrow = row 136 139 self.fitted = True … … 336 339 xlab = self.data._getabcissalabel(self._fittedrow) 337 340 m = self.data._getmask(self._fittedrow) 338 ylab = r'Flux'339 340 colours = ["grey60","grey80","red","orange","purple"," yellow","magenta", "cyan"]341 ylab = self.data._get_ordinate_label() 342 343 colours = ["grey60","grey80","red","orange","purple","green","magenta", "cyan"] 341 344 self._p.palette(1,colours) 342 345 self._p.set_line(label='Spectrum')
Note:
See TracChangeset
for help on using the changeset viewer.