Changeset 2052 for branches/casa-prerelease/pre-asap/python/casatoolbar.py
- Timestamp:
- 03/17/11 18:46:12 (13 years ago)
- Location:
- branches/casa-prerelease/pre-asap
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/casa-prerelease/pre-asap
-
branches/casa-prerelease/pre-asap/python
- Property svn:mergeinfo changed
/trunk/python merged: 2051
- Property svn:mergeinfo changed
-
branches/casa-prerelease/pre-asap/python/casatoolbar.py
r1983 r2052 181 181 ### actual plotting of the new page 182 182 def _new_page(self,goback=False): 183 top = None 183 184 if self.plotter._startrow <= 0: 184 185 msg = "The page counter is reset due to chages of plot settings. " … … 187 188 asaplog.post('WARN') 188 189 goback = False 189 190 else: 191 top = self.plotter._plotter.figure.subplotpars.top 192 190 193 self.plotter._plotter.hold() 191 194 if goback: … … 196 199 self.plotter._plotter.release() 197 200 self.plotter._plotter.tidy() 201 if self.plotter._headstring: 202 if top and top != self.plotter._margins[3]: 203 # work around for sdplot in CASA. complete checking in future? 204 self.plotter._plotter.figure.subplots_adjust(top=top) 205 self.plotter.print_header() 198 206 self.plotter._plotter.show(hardrefresh=False) 207 del top 199 208 200 209 ### calculate the panel ID and start row to plot the previous page
Note: See TracChangeset
for help on using the changeset viewer.