-
Committer:
Rodrigo Moreira Araujo
-
Date:
2009-04-03 00:27:44 UTC
-
Revision ID:
rodrigo@scrooge-20090403002744-ulxc7229xfyif0cd
cairoplot.py: Modifying color input system. It's now possible to input colors using the method: color = (r,g,b,a,mode) where the mode stands for 'linear', 'radial' or 'solid'.
For the Scatter family (Scatter, DotLine and Function), only solid colors are used independently of which mode is passed.
For the Bar family, only linear and solid colors are used. If 'radial' is passed, 'linear' will be used.
For the Pie family (Pie and Donut), only radial and solid colors will be used. If 'linear' is passed, 'radial' will be used.