Ignore:
Timestamp:
04/21/10 20:42:50 (14 years ago)
Author:
Kana Sugimoto
Message:

New Development: Yes

JIRA Issue: Yes (CAS-1801)

Ready to Release: Yes

Interface Changes: Yes

What Interface Changed: two classes, CustomToolbarTkAgg? and CustomToolbarCommon?,

are created to a new module casatoolbar

Test Programs: run sdplot with plottype='spectra' and 'totalpower'

Put in Release Notes: Yes/No?

Module(s): CASA task sdplot, sdbaseline, sdstat, sdfit

Description:

Two new classes, CustomToolbarTkAgg? and CustomToolbarCommon?, are
created to a new module casatoolbar in order to remove backend dependency
of sdplot(). The other code are modified accordingly.
The additional toolbar, casabar, is now default in ASAP plotter
(asapplotter.plot and asapplotter.plottp).


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/python/interactivemask.py

    r1667 r1724  
    159159                        # Need replot
    160160                        self.p.plot(self.scan)
     161                        # disable casa toolbar
     162                        if self.p._plotter.figmgr.casabar:  self.p._plotter.figmgr.casabar.disable_button()
    161163                        for panel in self.p._plotter.subplots:
    162164                                xmin, xmax = panel['axes'].get_xlim()
Note: See TracChangeset for help on using the changeset viewer.