On Friday, October 7, 2016 at 9:30:00 AM UTC-4, spaceLem wrote:
>
> In Julia 0.4.6 I could print or @show a 2d array, and it would give me a 
> nicely formatted 2d array
> println(reshape(1:4,2,2))
> [1 3
>  2 4]
>
> However in Julia 0.5 I instead get:
> println(reshape(1:4,2,2))
> [1 3; 2 4]
>
> Is it still possible to print 2d arrays without flattening them? And if 
> so, how?
>

Do display(array) or show(STDOUT, "text/plain", ...array...) if you want 
the multiline format.

Reply via email to