Changeset 2037 for trunk/python/asaplotbase.py
- Timestamp:
- 03/13/11 14:38:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asaplotbase.py
r1980 r2037 581 581 582 582 #def set_panels(self, rows=1, cols=0, n=-1, nplots=-1, ganged=True): 583 def set_panels(self, rows=1, cols=0, n=-1, nplots=-1, layout=None,ganged=True):583 def set_panels(self, rows=1, cols=0, n=-1, nplots=-1, margin=None,ganged=True): 584 584 """ 585 585 Set the panel layout. … … 604 604 self.set_title() 605 605 606 if layout:607 lef, bot, rig, top, wsp, hsp = layout606 if margin: 607 lef, bot, rig, top, wsp, hsp = margin 608 608 self.figure.subplots_adjust( 609 609 left=lef,bottom=bot,right=rig,top=top,wspace=wsp,hspace=hsp) … … 689 689 self.cols = cols 690 690 self.subplot(0) 691 del rows,cols,n,nplots, layout,ganged,i691 del rows,cols,n,nplots,margin,ganged,i 692 692 693 693
Note: See TracChangeset
for help on using the changeset viewer.