Changeset 1998 for trunk/python/flagtoolbar.py
- Timestamp:
- 02/17/11 19:59:43 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/flagtoolbar.py
r1996 r1998 375 375 def _clear_selection_plot(self): 376 376 ### clear up polygons which mark selected spectra and regions ### 377 if len(self._polygons) > 1: 378 self.plotter._plotter.hold() 377 if len(self._polygons) > 0: 379 378 for shadow in self._polygons: 380 379 shadow.remove() 381 self.plotter._plotter.release() 382 self.plotter._plotter.show() 380 self.plotter._plotter.canvas.draw() 383 381 self._polygons = [] 384 382
Note:
See TracChangeset
for help on using the changeset viewer.