Ignore:
Timestamp:
05/17/12 19:00:47 (12 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-3749/TRAC-266)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

interactive tests are required

  1. on CASA

(1) plot something by CASA sdplot task
(2) run CASA sdfit with plotlevel!=0
(3) close plotter window by pressing X button on the window
(4) plot something by sdplot task again.

  1. on stand-alone ASAP

(1) plot something by asapplotter
(2) run asapfitter.auto_fit with plot=T
(3) plot something by asapplotter again

Put in Release Notes: No

Module(s): sdplot, asapplotter

Description:

Fixed a bug which caused sdplot and asapplotter crash after closing
plotter loaded by the other modules (tasks) with X button. It was
a bug caused by the fact ID numbers of figure managers are
identical in both sdplot (asapplotter) and the other plotter.
It is also possible, that user loads plotter with the ID identical
to asapplotter and overrides it. This is because, user can select
arbitrary ID when generating a new plot.

asap.plotter._assert_plotter does more tests to make sure the
previous plotter GUI is alive, and properly reloads plotter if not.

Also some minor fixes to reset linewidth for plot invoked by
modules other than asapplot/sdplot, i.e., scantable, asapfitter,
and asapmath.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r2480 r2535  
    22652265            from asap.asapplotter import new_asaplot
    22662266            theplot = new_asaplot(rcParams['plotter.gui'])
     2267            from matplotlib import rc as rcp
     2268            rcp('lines', linewidth=1)
    22672269            theplot.set_panels()
    22682270            ylab=s._get_ordinate_label()
     
    23362338#             from asap.asapplotter import new_asaplot
    23372339#             theplot = new_asaplot(rcParams['plotter.gui'])
     2340#             from matplotlib import rc as rcp
     2341#             rcp('lines', linewidth=1)
    23382342#             theplot.set_panels()
    23392343#             ylab=s._get_ordinate_label()
Note: See TracChangeset for help on using the changeset viewer.