|
From: Benjamin R. <ben...@ou...> - 2012-10-17 16:21:48
|
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 |