Ignore:
Timestamp:
03/13/11 14:38:13 (13 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed:

  • Renamed a method asapplotter.set_panellayout to asapplotter.set_margin.
  • Renamed a parameter layout to margin in asapplotter.set_margin and

asaplotbase.set_panels.

Test Programs: call asapplotter.set_margin(margin=[0.1,0.1])

Put in Release Notes: Yes

Module(s): asapplotter, asaplotbase, and sdplot

Description:

  • Renamed a method asapplotter.set_panellayout to asapplotter.set_margin.
  • Renamed a parameter layout to margin in asapplotter.set_margin and

asaplotbase.set_panels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asaplotbase.py

    r1980 r2037  
    581581
    582582    #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):
    584584        """
    585585        Set the panel layout.
     
    604604            self.set_title()
    605605
    606         if layout:
    607             lef, bot, rig, top, wsp, hsp = layout
     606        if margin:
     607            lef, bot, rig, top, wsp, hsp = margin
    608608            self.figure.subplots_adjust(
    609609                left=lef,bottom=bot,right=rig,top=top,wspace=wsp,hspace=hsp)
     
    689689            self.cols = cols
    690690            self.subplot(0)
    691         del rows,cols,n,nplots,layout,ganged,i
     691        del rows,cols,n,nplots,margin,ganged,i
    692692
    693693
Note: See TracChangeset for help on using the changeset viewer.