skulpt_numpy
skulpt_numpy copied to clipboard
Add correct ndarray pretty printing
see: https://github.com/numpy/numpy/blob/v1.9.1/numpy/core/arrayprint.py#L465
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.