Re: [matplotlib-devel] Overlap with bar

2006-12-09 Thread Eric Firing
David, I went ahead and added the linewidth kwarg to bar and barh in svn, and did a little bit of other cleaning up at the same time. Eric David Huard wrote: > Thanks a lot for the quick answer, > > I think it would be cleaner to add the linewidth argument, since most > users expect the defau

Re: [matplotlib-devel] Overlap with bar

2006-12-07 Thread David Huard
Thanks a lot for the quick answer, I think it would be cleaner to add the linewidth argument, since most users expect the default to be a black boundary. FWIW, here is a patch (untested, I'm at home and I don't dare compile Matplotlib on windows). I'll test it somewhere next week. David 2006

Re: [matplotlib-devel] Overlap with bar

2006-12-07 Thread Eric Firing
John, David, The problem is indeed the patch boundaries; here is the workaround: In [2]:bb = bar(arange(500), rand(500)) In [3]:for b in bb: b.set_linewidth(0) ...: In [4]:draw() We should probably do something like setting linewidth to zero automatically if edgecolor is None, so that the

Re: [matplotlib-devel] Overlap with bar

2006-12-07 Thread John Hunter
> "David" == David Huard <[EMAIL PROTECTED]> writes: David> Hi, When plotting a large amount of bars, like bar(arange(500), rand(500)) David> the bars seem to overlap and it produces a weird effect. David> My feeling is that the culprit is the contour line around Da

[matplotlib-devel] Overlap with bar

2006-12-07 Thread David Huard
Hi, When plotting a large amount of bars, like bar(arange(500), rand(500)) the bars seem to overlap and it produces a weird effect. My feeling is that the culprit is the contour line around each rectangle, who probably don't scale properly in this limit. In fact, the problem is maybe not so