Re: [Matplotlib-users] Pdf File sizes on newer versions of matplotlib is a lot larger

2013-07-31 Thread Jeffrey Spencer
Yeah, I plot to pcolor a lot but haven't recently so next time I do I'll check. It would make a lot of sense for saving overhead there as you have stated. The overhead doesn't seem to be to big for small plots but was just curious where it was most useful. Cheers, Jeff On Thu, Aug 1, 2013 at 12

Re: [Matplotlib-users] Pdf File sizes on newer versions of matplotlib is a lot larger

2013-07-31 Thread Michael Droettboom
On 07/31/2013 10:38 AM, Jeffrey Spencer wrote: Michael, Pdftocairo is a good tool to know so thanks for that tip. I still think currently it is a regression with the current 'stamp' method to use it on all accounts. I understand in a complicated figure with a bunch of subplots that this would

Re: [Matplotlib-users] Pdf File sizes on newer versions of matplotlib is a lot larger

2013-07-31 Thread Jeffrey Spencer
Michael, Pdftocairo is a good tool to know so thanks for that tip. I still think currently it is a regression with the current 'stamp' method to use it on all accounts. I understand in a complicated figure with a bunch of subplots that this would be beneficial and create smaller code. I don't see

Re: [Matplotlib-users] Pdf File sizes on newer versions of matplotlib is a lot larger

2013-07-31 Thread Michael Droettboom
On 07/30/2013 04:20 PM, Jeffrey Spencer wrote: Michael, Thanks that is very informative. Answers most of the problems I was having and read MEP14 which looks really useful That being said does the ps backend subset the fonts or use collections for drawing (is the collections feature global o

Re: [Matplotlib-users] Pdf File sizes on newer versions of matplotlib is a lot larger

2013-07-30 Thread Michael Droettboom
There are two different things going on here. Between 1.2.1 and now, there was a bugfix to the font selection routine that inadvertently introduced a bug selecting fonts in the usetex backend. You may notice that on master, the IPA font selected is different. The file size difference can be

Re: [Matplotlib-users] Pdf File sizes on newer versions of matplotlib is a lot larger

2013-07-30 Thread Jeffrey Spencer
My results for running that small code snippet is below so I actually get quite different results with the two different backends. Any idea what could be the cause? Creator:cairo 1.10.2 (http://cairographics.org) Producer: cairo 1.10.2 (http://cairographics.org) Tagged: no Pa

Re: [Matplotlib-users] Pdf File sizes on newer versions of matplotlib is a lot larger

2013-07-30 Thread Jeffrey Spencer
Sorry about the Cairo backend. That was a mistake on my end in the command getting overridden by loading my matplotlibrc file that I overlooked. It was the first time I was using the new rc load features. So I actually got that working but the latex code \textipa{} didn't display correctly with th

Re: [Matplotlib-users] Pdf File sizes on newer versions of matplotlib is a lot larger

2013-07-30 Thread Eric Firing
On 2013/07/29 9:17 PM, Jeffrey Spencer wrote: > I have three different versions of matplotlib that all output different > file sizes with matplotlib 1.1.1 providing the smallest. This is for the > same exact script. I can post the script if that helps. > > MPL 1.4.x: 539.32kb, Ubuntu 12.10 > MPL 1.

Re: [Matplotlib-users] Pdf File sizes on newer versions of matplotlib is a lot larger

2013-07-30 Thread Michael Droettboom
On 07/30/2013 09:23 AM, Jouni K. Seppänen wrote: > Jeffrey Spencer writes: > >> I have three different versions of matplotlib that all output different >> file sizes with matplotlib 1.1.1 providing the smallest. This is for the >> same exact script. I can post the script if that helps. >> >> MPL 1

Re: [Matplotlib-users] Pdf File sizes on newer versions of matplotlib is a lot larger

2013-07-30 Thread Jouni K . Seppänen
Jeffrey Spencer writes: > I have three different versions of matplotlib that all output different > file sizes with matplotlib 1.1.1 providing the smallest. This is for the > same exact script. I can post the script if that helps. > > MPL 1.4.x: 539.32kb, Ubuntu 12.10 > MPL 1.1.1: 172.56kb Ubuntu

[Matplotlib-users] Pdf File sizes on newer versions of matplotlib is a lot larger

2013-07-30 Thread Jeffrey Spencer
I have three different versions of matplotlib that all output different file sizes with matplotlib 1.1.1 providing the smallest. This is for the same exact script. I can post the script if that helps. MPL 1.4.x: 539.32kb, Ubuntu 12.10 MPL 1.1.1: 172.56kb Ubuntu 12.10 MPL 1.2.1: 475.9kb, Ubuntu 13.