Opened 19 years ago
Closed 19 years ago
#96 closed defect (fixed)
TypeError exception in fitter.plot
| Reported by: | Owned by: | Malte Marquarding | |
|---|---|---|---|
| Priority: | normal | Milestone: | ASAP 2.1 | 
| Component: | General | Version: | 2.0 | 
| Severity: | normal | Keywords: | |
| Cc: | ttsutsum@… | 
Description
Hi Malte,
When we updated casapy to python2.5, I started to see the following error. matplotlib-0.87.7 in casapy uses numpy as default array package.
Tak
CASA <77>: f.plot()
---------------------------------------------------------------------------
<type 'exceptions.TypeError'>             Traceback (most recent call last)
/export/home/minor/alma/SingleDish/ALMATST5/data/GBT_spectralline/<ipython console> in <module>()
/export/home/minor/casa/devel/linux_gnu/python/2.5/asap/asapfitter.py in plot(self, residual, components, plotparms, filename)
    500             m =  logical_and(self.mask,
    501                              array(self.data._getmask(self._fittedrow)),
--> 502                                    copy=False)
    503
    504             ylab = self.data._get_ordinate_label()
<type 'exceptions.TypeError'>: 'copy' is an invalid keyword to logical_and
      Change History (2)
comment:1 by , 19 years ago
| Cc: | added | 
|---|
comment:2 by , 19 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    

Fixed in trunk.