skulpt_numpy icon indicating copy to clipboard operation
skulpt_numpy copied to clipboard

Add correct ndarray pretty printing

Open ebertmi opened this issue 9 years ago • 1 comments

see: https://github.com/numpy/numpy/blob/v1.9.1/numpy/core/arrayprint.py#L465

ebertmi avatar Oct 08 '15 19:10 ebertmi

The internal __repr__ and __str__ do already contain the correct logic. Now we only need to implement the arrayprint method and we get a nice padded output.

ebertmi avatar Oct 11 '15 18:10 ebertmi