Changeset 1759 for branches/alma


Ignore:
Timestamp:
07/01/10 14:26:36 (14 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No (a bug fix)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

sd.rcParamsplotter.gui=False #switch-off gui
sd.plotter.init() #reload ASAP plotter
sd.plotter.plot(SOME_DATA) #Do whatever plot.

Put in Release Notes: No

Module(s): sdplot

Description: Fixed a bug to enable non-GUI plotting


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/python/asaplot.py

    r1757 r1759  
    66
    77from matplotlib.backends.backend_agg import FigureCanvasAgg
     8from matplotlib.backend_bases import FigureManagerBase
    89
    910class asaplot(asaplotbase):
     
    2223        asaplotbase.__init__(self,**v)
    2324        self.canvas = FigureCanvasAgg(self.figure)
     25        self.figmgr = FigureManagerBase(self.canvas,1)
Note: See TracChangeset for help on using the changeset viewer.