[Matplotlib-users] axvspan/axhspan doesn't understand keyword arguments

2008-12-10 Thread Sara Hatch
I ran into a little problem when adding an axis span (both vertical and horizontal) to my plot. When I use the optional keyword arguments, I get an error message: import pylab pylab.axhspan(0.25, 0.75, facecolor='0.5', alpha=0.5) Traceback (most recent call last): File stdin, line 1, in module

Re: [Matplotlib-users] axvspan/axhspan doesn't understand keyword arguments

2008-12-10 Thread Eric Firing
Sara Hatch wrote: I ran into a little problem when adding an axis span (both vertical and horizontal) to my plot. When I use the optional keyword arguments, I get an error message: import pylab pylab.axhspan(0.25, 0.75, facecolor='0.5', alpha=0.5) Traceback (most recent call last):