Re: [Matplotlib-users] Alpha values not preserved with Ellipse and PatchCollection

2009-05-06 Thread Eric Firing
Thomas Robitaille wrote: > Hello, > > The following code should produce identical plots, but in the second > case the alpha value is ignored: > > --- > > import matplotlib > matplotlib.use('Agg') > import matplotlib.pyplot as mpl > from matplotlib.patches import Ellipse > from matplotlib.colle

[Matplotlib-users] Alpha values not preserved with Ellipse and PatchCollection

2009-05-06 Thread Thomas Robitaille
Hello, The following code should produce identical plots, but in the second case the alpha value is ignored: --- import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as mpl from matplotlib.patches import Ellipse from matplotlib.collections import PatchCollection fig = mpl.figure()