[Matplotlib-users] Gappy bars when no edge specified?

2008-03-18 Thread Chris Withers
Hi All,

Why does the following render small gaps horizontally between the bars?

import pylab
data = [1,2,1,2,4,2]
labels = pylab.arange(len(data1))
pylab.bar(labels,data1,width=1,linewidth=0)
pylab.show()

How do I make the small gaps go away?

cheers,

Chris

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Gappy bars when no edge specified?

2008-03-18 Thread Eric Firing
Chris Withers wrote:
 Hi All,
 
 Why does the following render small gaps horizontally between the bars?
 
 import pylab
 data = [1,2,1,2,4,2]
 labels = pylab.arange(len(data1))
 pylab.bar(labels,data1,width=1,linewidth=0)
 pylab.show()
 
 How do I make the small gaps go away?

With svn I don't see any gaps in the example above, either on screen or 
when saved to a png file.

Eric

 
 cheers,
 
 Chris
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Gappy bars when no edge specified?

2008-03-18 Thread Chris Withers
Eric Firing wrote:
 How do I make the small gaps go away?
 
 With svn I don't see any gaps in the example above, either on screen or 
 when saved to a png file.

That's cool'n'all, but when is svn going to make it into a Windows 
binary release? ;-)

cheers,

Chris - not sure how to compile MPL on Windows :-(

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users