[matplotlib-devel] barh vs. bar(orientation='horizontal')

2007-03-02 Thread Jouni K . Seppänen
Hi, What is the reason for having both barh and bar, when the latter accepts the orientation='horizontal' argument? I am asking because of sf bug #1669506, which is about hist(orientation='horizontal') not working because it passes a log kwarg to barh. -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [matplotlib-devel] barh vs. bar(orientation='horizontal')

2007-03-02 Thread Eric Firing
Jouni K. Seppänen wrote: > Hi, > > What is the reason for having both barh and bar, when the latter > accepts the orientation='horizontal' argument? I am asking because of > sf bug #1669506, which is about hist(orientation='horizontal') not > working because it passes a log kwarg to barh. > I di

Re: [matplotlib-devel] barh vs. bar(orientation='horizontal')

2007-03-02 Thread John Hunter
On 3/2/07, Eric Firing <[EMAIL PROTECTED]> wrote: > I didn't do it--but it looks like the reason is that having barh as a > separate method permits a more natural order of arguments without > introducing more complexity in the argument handling. barh was originally added for compatibility with m

Re: [matplotlib-devel] barh vs. bar(orientation='horizontal')

2007-03-02 Thread Jouni K . Seppänen
Eric Firing <[EMAIL PROTECTED]> writes: > Looks like barh just needs to take a **kwargs (which could replace most > of the present listed kwargs; or add a log kwarg to the list) and pass > it along to bar. You are taking care of this? I replaced most of the kwargs by a **kwargs dict in svn rev