[Scipy-tickets] [SciPy] #345: spy(sparse) shows upside down, flipd(sparse) doesn't work

SciPy scipy-tickets at scipy.net
Thu Jan 11 03:01:27 CST 2007


#345: spy(sparse) shows upside down, flipd(sparse) doesn't work
--------------------+-------------------------------------------------------
 Reporter:  jdpipe  |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  normal  |   Milestone:          
Component:  Other   |     Version:          
 Severity:  normal  |    Keywords:          
--------------------+-------------------------------------------------------
 Some more probs with the sparse matrix stuff in scipy:

   - spy(sparse) shows upside down (but does that for dense as well, c.f.
 spy2 though)
   - flipd(sparse) doesn't work:

 In [18]: spy( flipud(io.mmread("/home/john/ascend/slv3mmio.mtx")))
 ---------------------------------------------------------------------------
 exceptions.ValueError                                Traceback (most
 recent call last)

 /home/john/<ipython console>

 /usr/lib/python2.4/site-packages/numpy/lib/twodim_base.py in flipud(m)
      24     m = asanyarray(m)
      25     if m.ndim < 1:
 ---> 26         raise ValueError, "Input must be >= 1-d."
      27     return m[::-1,...]
      28

-- 
Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/345>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list