Changeset 1563 for trunk/python
- Timestamp:
- 04/22/09 16:10:06 (16 years ago)
- Location:
- trunk/python
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asaplotbase.py
r1560 r1563 29 29 """ 30 30 31 def __init__(self, rows=1, cols=0, title='', size= (8,6), buffering=False):31 def __init__(self, rows=1, cols=0, title='', size=None, buffering=False): 32 32 """ 33 33 Create a new instance of the ASAPlot plotting class. -
trunk/python/asaplotgui.py
r1422 r1563 16 16 """ 17 17 18 def __init__(self, rows=1, cols=0, title='', size= (8,6), buffering=False):18 def __init__(self, rows=1, cols=0, title='', size=None, buffering=False): 19 19 """ 20 20 Create a new instance of the ASAPlot plotting class. -
trunk/python/asaplotgui_gtk.py
r1153 r1563 18 18 """ 19 19 20 def __init__(self, rows=1, cols=0, title='', size= (8,6), buffering=False):20 def __init__(self, rows=1, cols=0, title='', size=None, buffering=False): 21 21 """ 22 22 Create a new instance of the ASAPlot plotting class. -
trunk/python/asapplotter.py
r1559 r1563 15 15 other variables. 16 16 """ 17 def __init__(self, visible=None ):17 def __init__(self, visible=None , **kwargs): 18 18 self._visible = rcParams['plotter.gui'] 19 19 if visible is not None: 20 20 self._visible = visible 21 self._plotter = self._newplotter( )21 self._plotter = self._newplotter(**kwargs) 22 22 23 23 self._panelling = None … … 51 51 return None 52 52 53 def _newplotter(self ):53 def _newplotter(self, **kwargs): 54 54 if self._visible: 55 55 from asap.asaplotgui import asaplotgui as asaplot 56 56 else: 57 57 from asap.asaplot import asaplot 58 return asaplot( )58 return asaplot(**kwargs) 59 59 60 60
Note:
See TracChangeset
for help on using the changeset viewer.