[SciPy-dev] Weirdness with matplotlib and new scipy

Ravikiran Rajagopal ravi at ati.com
Wed Nov 23 14:20:27 CST 2005

After application of Daishi Harada's patch on 0.85, I tried to use it with 
SciPy core SVN from yesterday and get rather strange results:

x = scipy.array( [16.5]*10 )
y = scipy.array( [19.5]*10 )
w = scipy.arange(10)

# This plots a line at 16.0, not 16.5!
pylab.plot( w, x )

# However this works perfectly with a blue box 0-9 x 16.5x19.5
f = pylab.figure()
a = f.add_subplot( 1, 1, 1 )
a.fill( scipy.concatenate((w,w[::-1])), scipy.concatenate((x,y[::-1])) )

Further, the legend boxes are too large, usually obscuring most of the picture 
with a polygonal patch (such as the one produced by the fill above) or at 
least a half without any polygonal patches.

How can I help debug these issues?


More information about the Scipy-dev mailing list