|
From: Benjamin R. <ben...@ou...> - 2012-10-17 17:13:37
|
On Wed, Oct 17, 2012 at 1:08 PM, Damon McDougall <dam...@gm...>wrote: > On Wed, Oct 17, 2012 at 5:56 PM, Gökhan Sever <gok...@gm...> > wrote: > > > > > > On Wed, Oct 17, 2012 at 10:21 AM, Benjamin Root <ben...@ou...> wrote: > >> > >> > >> > >> On Wed, Oct 17, 2012 at 12:17 PM, Gökhan Sever <gok...@gm...> > >> wrote: > >>> > >>> Thanks Mike, > >>> > >>> Another point I noticed is setting linewidth to 0 (in fill_between > >>> function) isn't working as expected when figure is saved as a PDF file. > >>> > >>> I noticed this while posting a sample script on scipy-users: > >>> > >>> http://atmos.uwyo.edu/~gsever/data/test/curvefit_test.py > >>> > >>> Compare the outputs of pdf and png to see the difference that I am > >>> mentioning: > >>> > >>> http://atmos.uwyo.edu/~gsever/data/test/curvefit_test.pdf > >>> http://atmos.uwyo.edu/~gsever/data/test/curvefit_test.png > >>> > >> > >> Actually, this is not a bug in mpl. It is a "bug" in various viewers. > >> Some viewers have a "minimum" linewidth and will use that for any > requested > >> linewidths smaller than that. Are you using Apple's Preview? > >> > >> Cheers! > >> Ben Root > >> > > > > Hi Ben, > > > > I was guessing the same way, but trying different viewers doesn't make > any > > difference: > > > > Evince v3.2.1 > > Xpdf v3.03 > > Okular v0.14.3 > > > > Could anyone confirm this on a window machine? > > > > -- > > Gökhan > > Confirmed with Preview.app on OS X 10.7.4. > > I think it looks ok with the old Adobe viewer on linux (I never bothered updating it since I use Evince). Kinda hard to tell the difference between grey and greyer... Could somebody include a screenshot of what they are seeing? Ben Root |