Ignore:
Timestamp:
05/18/11 12:48:33 (13 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-2963/ATNF-240)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: comare statistic result of interactive operation with command line none

Put in Release Notes: No

Module(s): asapplotter, sdplot

Description:

statistic mode in ASAP plotter now prints statistics (max, min, median, mean, sum, std dev) of
spectra only in the selected subplot.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/customgui_tkagg.py

    r2170 r2172  
    184184        self._p.register('button_release',None)
    185185
     186    def _draw_span(self,axes,x0,x1,**kwargs):
     187        height = self._p.figure.bbox.height
     188        y0 = height - axes.bbox.y0
     189        y1 = height - axes.bbox.y1
     190        return self._p.canvas._tkcanvas.create_rectangle(x0,y0,x1,y1,**kwargs)
     191
     192    def _remove_span(self,span):
     193        self._p.canvas._tkcanvas.delete(span)
    186194
    187195
Note: See TracChangeset for help on using the changeset viewer.