Re: [Matplotlib-users] Setting transparent pixels during overplotting

2011-11-25 Thread Benjamin Root
On Friday, November 25, 2011, Keith Hughitt wrote: > Hi, > I would like to draw a contour plot on top of an image and such that any values of the countour plot < x are made transparent. > Here is what I am doing at the moment to handle the overplotting: > > from matplotlib import pyplot as plt > f

[Matplotlib-users] Setting transparent pixels during overplotting

2011-11-25 Thread Keith Hughitt
Hi, I would like to draw a contour plot on top of an image and such that any values of the countour plot < x are made transparent. Here is what I am doing at the moment to handle the overplotting: from matplotlib import pyplot as plt fig = plt.figure() axes = fig.add_subplot(111) contour = plt