Changeset 2056


Ignore:
Timestamp:
03/20/11 14:40:43 (13 years ago)
Author:
Kana Sugimoto
Message:

New Development: No (a bug fix)

JIRA Issue: Yes (CAS--2764, ATNF-238)

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: No

Module(s): asapplotter, sdplot

Description: fixed header plotting in toolbased operations.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapplotter.py

    r2053 r2056  
    102102        self._startrow = 0
    103103        self._ipanel = -1
     104        self._reset_header()
    104105        if self._plotter.is_dead:
    105106            if hasattr(self._plotter.figmgr,'casabar'):
     
    13851386        """
    13861387        print data (scantable) header on the plot and/or logger.
     1388        To plot the header on the plot, this method should be called after
     1389        plotting spectra by the method, asapplotter.plot.
    13871390        Parameters:
    13881391            plot:      whether or not print header info on the plot.
     
    14071410            self._headtext['extrastr'] = extrastr
    14081411        if selstr != '': self._headtext['selstr'] = selstr
    1409         ssel=(selstr+self._data.get_selection().__str__() or 'none')
     1412        ssel=(selstr+self._data.get_selection().__str__()+self._selection.__str__() or 'none')
    14101413        headstr.append('***Selections***\n'+ssel)
    14111414
Note: See TracChangeset for help on using the changeset viewer.