Opened 17 years ago

Closed 17 years ago

#96 closed defect (fixed)

TypeError exception in fitter.plot

Reported by: ttsutsum@… 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 Changed 17 years ago by Malte Marquarding

Cc: ttsutsum@… added

Fixed in trunk.

comment:2 Changed 17 years ago by Malte Marquarding

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.