Changeset 2146


Ignore:
Timestamp:
04/18/11 20:16:37 (13 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No (a fix)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: List test programs

Put in Release Notes: No

Module(s): asapplotter, sdplot

Description: a fix for non-GUI and QT4 plotting


Location:
trunk/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asaplot.py

    r1826 r2146  
    2424        self.canvas = FigureCanvasAgg(self.figure)
    2525        self.figmgr = FigureManagerBase(self.canvas,1)
     26
     27    def map(self):
     28        """ This method is not available in non-GUI plotting class"""
     29        pass
     30
     31    def unmap(self):
     32        """ This method is not available in non-GUI plotting class"""
     33        pass
     34
  • trunk/python/asaplotgui_qt4.py

    r1819 r2146  
    99# Force use of the newfangled toolbar.
    1010import matplotlib
    11 matplotlib.use("Qt4Agg")
     11#matplotlib.use("Qt4Agg")
    1212matplotlib.rcParams['toolbar'] = 'toolbar2'
    1313
    14 #class asaplotgui(asaplotbase):
    1514class asaplotgui(asaplotbase):
    1615    """
     
    5150        self.buffering = buffering
    5251
     52        self.unmap()
    5353        #self.canvas.show()
    5454
     
    7878            self.window.activateWindow()
    7979            self.canvas.show()
    80             #self.window.show()
     80            self.window.show()
    8181
    8282    def terminate(self):
Note: See TracChangeset for help on using the changeset viewer.