Re: [matplotlib-devel] Spy on scipy.sparse.spmatrix

2009-12-22 Thread Eric Firing
Stéfan van der Walt wrote: > Hi all, > > According to the `spy` docstring, it can display sparse matrices from > scipy. The following code snippet seems to break, however: Fixed in the trunk. Eric > > In [20]: import scipy.sparse as sp > In [21]: d = sp.lil_eye((15, 15)) > In [22]: plt.spy(d)

Re: [matplotlib-devel] Spy on scipy.sparse.spmatrix

2009-12-22 Thread Eric Firing
Stéfan van der Walt wrote: > Hi all, > > According to the `spy` docstring, it can display sparse matrices from > scipy. The following code snippet seems to break, however: > > In [20]: import scipy.sparse as sp > In [21]: d = sp.lil_eye((15, 15)) > In [22]: plt.spy(d) > > Am I using the `spy` f

[matplotlib-devel] Spy on scipy.sparse.spmatrix

2009-12-22 Thread Stéfan van der Walt
Hi all, According to the `spy` docstring, it can display sparse matrices from scipy. The following code snippet seems to break, however: In [20]: import scipy.sparse as sp In [21]: d = sp.lil_eye((15, 15)) In [22]: plt.spy(d) Am I using the `spy` function correctly? I've also tried forcing mar