| 
            Last change
 on this file since 1798 was             1789, checked in by Kana Sugimoto, 15 years ago           | 
        
        
          | 
             
Merged the all developments from alma branch. copied external-alma. 
         
 
           | 
        
        
          
            
              - 
Property                 svn:eol-style
 set to                 
native
               
              - 
Property                 svn:keywords
 set to                 
Author Date Id Revision
               
             
           | 
        
        
          | 
            File size:
            746 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [111] | 1 | """
 | 
|---|
 | 2 | ASAP plotting class based on matplotlib.
 | 
|---|
 | 3 | """
 | 
|---|
 | 4 | 
 | 
|---|
| [708] | 5 | from asap.asaplotbase import *
 | 
|---|
| [111] | 6 | 
 | 
|---|
| [708] | 7 | from matplotlib.backends.backend_agg import FigureCanvasAgg
 | 
|---|
| [1789] | 8 | from matplotlib.backend_bases import FigureManagerBase
 | 
|---|
| [111] | 9 | 
 | 
|---|
| [708] | 10 | class asaplot(asaplotbase):
 | 
|---|
| [111] | 11 |     """
 | 
|---|
 | 12 |     ASAP plotting class based on matplotlib.
 | 
|---|
 | 13 |     """
 | 
|---|
| [1564] | 14 |     def __init__(self, rows=1, cols=0, title='', size=None, buffering=False):
 | 
|---|
| [117] | 15 |         """
 | 
|---|
 | 16 |         Create a new instance of the ASAPlot plotting class.
 | 
|---|
| [119] | 17 | 
 | 
|---|
 | 18 |         If rows < 1 then a separate call to set_panels() is required to define
 | 
|---|
 | 19 |         the panel layout; refer to the doctext for set_panels().
 | 
|---|
| [117] | 20 |         """
 | 
|---|
| [708] | 21 |         v = vars()
 | 
|---|
 | 22 |         del v['self']
 | 
|---|
 | 23 |         asaplotbase.__init__(self,**v)
 | 
|---|
 | 24 |         self.canvas = FigureCanvasAgg(self.figure)
 | 
|---|
| [1789] | 25 |         self.figmgr = FigureManagerBase(self.canvas,1)
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.