Printing a numeric.array is not all that interpretable
tcstewar opened this issue · 3 comments
tcstewar commented
If you do
A = array([[1, 2], [3, 4]])
print A
in Nengo, you get
arrayObject(data=[1, 2, 3, 4], typecode=i, start=0, dimensions=[2,2], strides=[2,1])
It'd be nicer to give
[[1 2]
[3 4]]
as an output instead. Right now, this can only be done by
print str(A)
tbekolay commented
This is because a perhaps short-sighted change by a previous maintainer of jnumeric. See the source for printing an array. Could you make this a jnumeric issue instead?
tcstewar commented
Ah, good point! I'd forgotten jnumeric was separated out like that... I've added the issue there.
tbekolay commented
Thanks!