From: John H. <jd...@gm...> - 2008-06-27 02:14:52
|
On Thu, Jun 26, 2008 at 8:26 PM, Sasha Gutfraind <sgu...@gm...> wrote: > pylab.scatter([1],[1],s=1000,c='g',alpha=1.0) > pylab.scatter([1],[1],s=10,c='b',alpha=0.2) > pylab.scatter([1],[1],s=100,c='r',alpha=0.5) > pylab.savefig('foo.svg') > > > I suspect a bug (my MPL version is '0.98pre'): > Using a text editor to manually change the svg file, replacing > "opacity: 1.0" with "opacity: 0.5" fixes the problem. I recently fixed an alpha bug in pdf and svg that affected scatter in svn r5630, so if you upgrade to either the latest svn HEAD or the source release of 0.98.2 (binary builds not yet available), you'll likely find this bug fixed. JDH |