From: Darren D. <dar...@co...> - 2007-10-19 14:46:37
|
On Friday 19 October 2007 03:57:31 am Manuel Metz wrote: > Now that alpha works with screen output, I recognized a problem with the > eps output. This is my little test script: > > import pylab > > x = pylab.npy.arange(0,10) > pylab.scatter(x,x, s=50, alpha=0.5) > pylab.scatter(x,x+0.5, facecolor='blue', edgecolor='red', s=50, alpha=0) > > pylab.savefig('alpha.png') > pylab.savefig('alpha.eps') > pylab.show() > > The resulting figures are attached. The problem occurs in the eps output > where the edgecolors are not correctly reproduced, only the first marker > symbol has a red edge, the others don't. I removed a gsave/grestore pair surrounding RendererPS._draw_ps in svn-3967. It looks like this fixed the problem (graphics state was being lost). I checked contour_demo.py for any unintended side-effects, and didn't find any, but please keep an eye out for strange behavior. Darren |