Changeset 411 for trunk/python/asaplot.py
- Timestamp:
- 02/11/05 14:37:03 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asaplot.py
r376 r411 626 626 627 627 d = ['png','.ps','eps'] 628 629 from os.path import expandvars 630 fname = expandvars(fname) 631 628 632 if fname[-3:].lower() in d: 629 633 try: … … 676 680 677 681 678 def load_colours(file ='/usr/local/lib/rgb.txt'):682 def load_colours(filename='/usr/local/lib/rgb.txt'): 679 683 """ 680 684 Load the colour dictionary from the specified file. 681 685 """ 682 686 print 'Loading colour dictionary from', file 683 rgb = open(file, 'r') 687 from os.path import expandvars 688 filename = expandvars(filename) 689 rgb = open(filename, 'r') 684 690 685 691 while True:
Note: See TracChangeset
for help on using the changeset viewer.