Changeset 1980 for trunk


Ignore:
Timestamp:
01/28/11 15:34:54 (14 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-2765/ASAP-230)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: plot spectra, select a spectrum with left-mouse button, and drag on it

Put in Release Notes: No

Module(s): asapplotter, sdplot

Description:

Fixed a bug in asapplotter, i.e., spec value printing doesn't work once you changed the pages.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asaplotbase.py

    r1946 r1980  
    231231        else:
    232232            line = self.axes.plot(x, y, fmt)
     233        # add a picker to lines for spectral value mode.
     234        # matplotlib.axes.plot returns a list of line object (1 element)
     235        line[0].set_picker(5.0)
    233236
    234237        # Add to an existing line?
Note: See TracChangeset for help on using the changeset viewer.