Ignore:
Timestamp:
03/30/12 19:58:59 (12 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-3749)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: unit tests of sdplot

Put in Release Notes: No

Module(s): sdplot, sdfit, sdstat, sdflag, sdcal, sdreduce

Description:

Made asapplotter not to generate plotter window at start-up, but the window is
only generated at the first invokation of plotting operation.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asaplot.py

    r2146 r2451  
    77from matplotlib.backends.backend_agg import FigureCanvasAgg
    88from matplotlib.backend_bases import FigureManagerBase
     9from matplotlib import _pylab_helpers
    910
    1011class asaplot(asaplotbase):
     
    2223        del v['self']
    2324        asaplotbase.__init__(self,**v)
     25        _pylab_helpers.Gcf.destroy(0)
     26        self.window = None
    2427        self.canvas = FigureCanvasAgg(self.figure)
    2528        self.figmgr = FigureManagerBase(self.canvas,1)
     29        _pylab_helpers.Gcf.figs[self.figmgr.num] = self.figmgr
    2630
    2731    def map(self):
Note: See TracChangeset for help on using the changeset viewer.