Scalar xmin,xmax in HLINES

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, typecode(y))

Analogous code is already in place for VLINES, but not for HLINES.

Thanks,

Daniel Fish

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))
        if len(xmax)==1:
            xmax = xmax*ones(y.shape, typecode(y))

Analogous code is already in place for VLINES, but not for HLINES.

Thanks,

Daniel Fish

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