Re: [Matplotlib-users] Scalar xmin,xmax in HLINES

2007-09-10 Thread Eric Firing
Daniel Fish wrote: > If not already addressed: It has been addressed in svn. Eric > > In order for pylab.hlines to handle scalar xmin and xmax args, the following > code should be inserted at line 2328 in axes.py > > if len(xmin)==1: > xmin = xmin*ones(y.shape, typecode(y))

Re: [Matplotlib-users] Scalar xmin,xmax in HLINES

2007-09-10 Thread Daniel Fish
If not already addressed: In order for pylab.hlines to handle scalar xmin and xmax args, the following code should be inserted at line 2328 in axes.py if len(xmin)==1: xmin = xmin*ones(y.shape, typecode(y)) if len(xmax)==1: xmax = xmax*ones(y.shape, typeco