|
From: Gökhan S. <gok...@gm...> - 2012-10-17 16:56:24
|
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 |