Changeset 2600 for trunk/python


Ignore:
Timestamp:
07/17/12 18:10:46 (12 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-1814/Trac-271)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: comming soon

Put in Release Notes: No

Module(s): asapplotter / sd.plotter (CASA)

Description: fix a bug when scan is not specified in asapplotter.plotgrid.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapplotter.py

    r2586 r2600  
    16241624                self._data = scan
    16251625                self._reset()
    1626         elif not self._data:
     1626        elif self._data:
     1627            scan = self._data
     1628        else:
    16271629            msg = "Input is not a scantable"
    16281630            raise TypeError(msg)
     
    18361838                break
    18371839           
    1838         #self._plottp(self._data)
    1839 
    18401840        if self._minmaxy is not None:
    18411841            self._plotter.set_limits(ylim=self._minmaxy)
Note: See TracChangeset for help on using the changeset viewer.