Displays an ndarray as an image