Re: [Matplotlib-users] Difference in Axes.hlines / Axes.vlines

2007-07-18 Thread Ben North
Hi, I wrote: > I was wondering, though, whether there'd be any support for some work > which tidied up the near-duplicate code in axes.py. which produced a couple of replies. I think this is probably more of a matplotlib-devel topic than a -users one, so I'll post a reply over there. Ben.

Re: [Matplotlib-users] Difference in Axes.hlines / Axes.vlines

2007-07-17 Thread Darren Dale
On Tuesday 17 July 2007 12:04:54 pm John Hunter wrote: > > I was wondering, though, whether there'd be any support for some work > > which tidied up the near-duplicate code in axes.py. I've been playing > > Certainly, but probably not using meta-classes. > > > around with an approach using python'

Re: [Matplotlib-users] Difference in Axes.hlines / Axes.vlines

2007-07-17 Thread John Hunter
On 7/17/07, Ben North <[EMAIL PROTECTED]> wrote: > There is a difference in the behaviour of Axes.hlines() vs > Axes.vlines(), in that vlines() lets you supply scalars for ymin and > ymax, whereas hlines() doesn't (for xmin and xmax). The patch below > fixes that, and also what looks like a separa

[Matplotlib-users] Difference in Axes.hlines / Axes.vlines

2007-07-17 Thread Ben North
Hi, There is a difference in the behaviour of Axes.hlines() vs Axes.vlines(), in that vlines() lets you supply scalars for ymin and ymax, whereas hlines() doesn't (for xmin and xmax). The patch below fixes that, and also what looks like a separate bug in vlines. There are also other differences,