Re: [matplotlib-devel] colorbar edges in white for PDF output

2012-11-01 Thread Andrew Dawson
I used git bisect to work out where this first happens and it says https://github.com/matplotlib/matplotlib/commit/4dd3de1b580ac0d7dc53bcca396ba1bf25a8eea9is the first bad commit. This commit does make changes to the PDF backend so it seems feasible. Unfortunately I don't know the backend code so t

Re: [matplotlib-devel] Animation class: let save() accept **kwargs which are passed on to savefig()?

2012-11-01 Thread Maximilian Albert
Hi all, quick update on this: I pushed a small change to make the default argument immutable (thanks to Jens for pointing this out). Just a couple more questions/comments: 1) Should there be a test for this? I couldn't find any tests for the Animation class, so I haven't added one. But perhaps I

Re: [matplotlib-devel] colorbar edges in white for PDF output

2012-11-01 Thread Michael Droettboom
I've filed an issue for this here: https://github.com/matplotlib/matplotlib/issues/1444 Mike On 10/31/2012 12:20 PM, Andrew Dawson wrote: Hi all, I just noticed that colorbar edges are drawn in white when output in PDF and black when output in PNG. A small test script is attached along with

Re: [matplotlib-devel] Animation class: let save() accept **kwargs which are passed on to savefig()?

2012-11-01 Thread Ryan May
On Thu, Nov 1, 2012 at 5:38 AM, Maximilian Albert wrote: > Hi all, > > quick update on this: I pushed a small change to make the default > argument immutable (thanks to Jens for pointing this out). Just a > couple more questions/comments: > > 1) Should there be a test for this? I couldn't find any

Re: [matplotlib-devel] colorbar edges in white for PDF output

2012-11-01 Thread Michael Droettboom
I now have a fix attached to that issue. Andrew: can you confirm it works for you? Mike On 11/01/2012 09:06 AM, Michael Droettboom wrote: I've filed an issue for this here: https://github.com/matplotlib/matplotlib/issues/1444 Mike On 10/31/2012 12:20 PM, Andrew Dawson wrote: Hi all, I ju

Re: [matplotlib-devel] colorbar edges in white for PDF output

2012-11-01 Thread Andrew Dawson
It is possible I have spoken too soon. It certainly fixes the specific issue I was having, however I am now getting serious issues with a plot that uses the basemap toolkit. The contours and coastlines extend way beyond the plot boundaries. I've put links to before and after plots from something I'

Re: [matplotlib-devel] colorbar edges in white for PDF output

2012-11-01 Thread Michael Droettboom
Thanks. I think the clipping is getting thrown away by what I just did. It should be an easy fix. Mike On 11/01/2012 01:59 PM, Andrew Dawson wrote: It is possible I have spoken too soon. It certainly fixes the specific issue I was having, however I am now getting serious issues with a plot

Re: [matplotlib-devel] colorbar edges in white for PDF output

2012-11-01 Thread Michael Droettboom
Can you try https://github.com/matplotlib/matplotlib/pull/1446? Mike On 11/01/2012 01:59 PM, Andrew Dawson wrote: It is possible I have spoken too soon. It certainly fixes the specific issue I was having, however I am now getting serious issues with a plot that uses the basemap toolkit. The co