Changeset 2927 for trunk/python


Ignore:
Timestamp:
04/11/14 18:27:39 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-5870

Ready for Test: Yes

Interface Changes: Yes/No

What Interface Changed: Please list interface changes

Test Programs: test_tsdplot

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Fix for printing selection string in the plotter panel.
'$' is replaced with '\$' to avoid an error due to parsing
string into Latex math expression.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapplotter.py

    r2795 r2927  
    17171717            self._headtext['selstr'] = selstr
    17181718        ssel=(selstr+self._data.get_selection().__str__()+self._selection.__str__() or 'none')
    1719         headstr.append('***Selections***\n'+ssel)
     1719        headstr.append('\n\n***Selections***\n'+ssel.replace('$','\$'))
    17201720
    17211721        if plot:
Note: See TracChangeset for help on using the changeset viewer.