Ignore:
Timestamp:
07/27/13 01:23:26 (11 years ago)
Author:
WataruKawasaki
Message:

New Development: No

JIRA Issue: Yes CAS-3620

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): sd

Description: modified plotter2.save() so that the previous filename and device are restored finally.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plotter2/python/plotter2.py

    r2825 r2827  
    215215
    216216    def save(self, filename):
     217        prev_filename = self._plotter.get_filename()
     218        prev_dev      = self._plotter.get_device()
     219
    217220        self.set_output(filename)
    218221        self.plot()
     222       
     223        self.set_output(prev_filename, prev_dev)
    219224   
    220225    def get_vinfo(self):
Note: See TracChangeset for help on using the changeset viewer.