Ok, but there's a class called map color, I think it goes that way. But I
didn't find a way to create map colors with hexadecimal values, only with r,
g, b dicts from 0 to 1.0. I didn't get it.
I also didn't find how to apply this map colors to a pie patch.
On Sat, Oct 3, 2009 at 10:28 PM, Jae-Joo
Unfortunately, there is no simple way, as MPL does not support gradient yet.
There is a hard way though, that you create a gradient image by
yourself and clip it with the appropriate path.
I guess, the easiest way for a normal user is to export the figure as
the SVG format and put some gradient usi
Hello everyone,
I wish a simple sample of creating a pie graph filled with a gradient from
blue(#98D0D8) to a lighter blue(#BAE5EB).
Here's the code (I got from the samples):
from pylab import *
# make a square figure and axes
figure(1, figsize=(6,6))
ax = axes([0.1, 0.1, 0.8, 0.8])
labels = 'Fr