Changeset 169 for trunk/pycha/line.py

Show
Ignore:
Timestamp:
03/17/09 05:27:31 (3 years ago)
Author:
lgs
Message:

Big refactor about how the colors scheme are created and used. See #29

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pycha/line.py

    r140 r169  
    7474                cx.close_path() 
    7575            else: 
    76                 cx.set_source_rgb(*self.options.colorScheme[storeName]) 
     76                cx.set_source_rgb(*self.colorScheme[storeName]) 
    7777                cx.stroke() 
    7878 
     
    9393 
    9494                # fill the line 
    95                 cx.set_source_rgb(*self.options.colorScheme[storeName]) 
     95                cx.set_source_rgb(*self.colorScheme[storeName]) 
    9696                preparePath(storeName) 
    9797                cx.fill()