[matplotlib-devel] savefig to pdf and ps don't respect mew=0 or mec

2011-12-11 Thread Mike Kaufman

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

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] savefig to pdf and ps don't respect mew=0 or mec

2011-12-11 Thread Benjamin Root
On Sunday, December 11, 2011, Mike Kaufman  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
>

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
--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] savefig to pdf and ps don't respect mew=0 or mec

2011-12-11 Thread Mike Kaufman

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


--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] savefig to pdf and ps don't respect mew=0 or mec

2011-12-11 Thread Benjamin Root
On Sunday, December 11, 2011, Mike Kaufman  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
--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel