Ignore:
Timestamp:
09/29/05 16:36:56 (19 years ago)
Author:
mar637
Message:

added user customisable colors and linestyles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release-2-fixes/python/__init__.py

    r676 r694  
    5858    'plotter.stacking'    : ['p', str],
    5959    'plotter.panelling'   : ['s', str],
    60    
     60    'plotter.colours'     : ['', str],
     61    'plotter.linestyles'  : ['', str],
     62
    6163    # scantable
    6264    'scantable.save'      : ['ASAP', str],
     
    8991    # default mode for panelling
    9092    plotter.panelling          : scan
     93
     94    # default colours/linestyles
     95    plotter.colours            :
     96    plotter.linestyles         :
    9197
    9298    # scantable
     
    237243def list_scans(t = scantable):
    238244    import sys, types
    239     #meta_t = type(t)
    240     #if meta_t == types.InstanceType:
    241     #    t = t.__class__
    242     #elif meta_t not in [types.ClassType, types.TypeType]:
    243     #    t = meta_t
    244245    globs = sys.modules['__main__'].__dict__.iteritems()
    245246    print "The user created scantables are:"
Note: See TracChangeset for help on using the changeset viewer.