savefig to pdf and ps don't respect mew=0 or mec

for this code:

clf()
plot(arange(5),arange(5), 'y.', ms=30.0, mew=0, mec='r')
draw()
savefig('mew.pdf')
savefig('mew.ps')

The pdf and ps show a marker edge even though the gtkagg window doesn't (neither do the png or svg savefigures).
The marker edge in the ps is black instead of red.

I haven't done a git-bisect, but
f1388ee3c3a5c72af00701e5a623545f0df2f426 from April 11 seems to have the pdf problem but the ps doesn't have a marker edge.

M

Mike,

I was recently tracking down a somewhat similar problem a few days ago. It turned out not to have been related to mpl at all, but rather a bug in the PDF viewer. Which viewer are you using so that I can make sure that I check something different?

Ben Root

···

On Sunday, December 11, 2011, Mike Kaufman <mckauf@…149…> wrote:

for this code:

clf()
plot(arange(5),arange(5), ‘y.’, ms=30.0, mew=0, mec=‘r’)

draw()
savefig(‘mew.pdf’)
savefig(‘mew.ps’)

The pdf and ps show a marker edge even though the gtkagg window doesn’t
(neither do the png or svg savefigures).

The marker edge in the ps is black instead of red.

I haven’t done a git-bisect, but
f1388ee3c3a5c72af00701e5a623545f0df2f426 from April 11 seems to have the
pdf problem but the ps doesn’t have a marker edge.

M

Both Skim 1.3.18 and Preview on OSX 10.6.8 show this. I'm using gv 3.7.1 as a postscript viewer.

M

···

Mike,

I was recently tracking down a somewhat similar problem a few days ago.
  It turned out not to have been related to mpl at all, but rather a bug
in the PDF viewer. Which viewer are you using so that I can make sure
that I check something different?

Ben Root

Could you send the PDF and a screen capture of what you see as a png so we can check? The mac’s Preview program was the one that I found to be faulty.

Ben Root

···

On Sunday, December 11, 2011, Mike Kaufman <mckauf@…149…> wrote:

Both Skim 1.3.18 and Preview on OSX 10.6.8 show this. I’m using gv 3.7.1 as a postscript viewer.

M

Attached. Also put the viewed pdf on the right side of the screen.

M

mew.pdf (5.62 KB)

mew_capture.png

···

On 12/11/11 6:04 PM, Benjamin Root wrote:

On Sunday, December 11, 2011, Mike Kaufman <mckauf@…149… > <mailto:mckauf@…149…>> wrote:
>
> Both Skim 1.3.18 and Preview on OSX 10.6.8 show this. I'm using gv
3.7.1 as a postscript viewer.
>
> M
>

Could you send the PDF and a screen capture of what you see as a png so
we can check? The mac's Preview program was the one that I found to be
faulty.

Ben Root

Mike,

I have confirmed that the problem exists. I have also replicated the problem on my own machine. Could you file a bug report for us, please?

Thanks,
Ben Root

···

On Sun, Dec 11, 2011 at 5:48 PM, Mike Kaufman <mckauf@…149…> wrote:

Attached. Also put the viewed pdf on the right side of the screen.

M

On 12/11/11 6:04 PM, Benjamin Root wrote:

On Sunday, December 11, 2011, Mike Kaufman <mckauf@…149… > > mailto:mckauf@...552...149...> wrote:

Both Skim 1.3.18 and Preview on OSX 10.6.8 show this. I’m using gv

3.7.1 as a postscript viewer.

M

Could you send the PDF and a screen capture of what you see as a png so

we can check? The mac’s Preview program was the one that I found to be

faulty.

Ben Root