Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display(::Array{Array}) could use more newlines #8657

Closed
jiahao opened this issue Oct 11, 2014 · 5 comments
Closed

display(::Array{Array}) could use more newlines #8657

jiahao opened this issue Oct 11, 2014 · 5 comments
Labels
good first issue Indicates a good issue for first-time contributors to Julia

Comments

@jiahao
Copy link
Member

jiahao commented Oct 11, 2014

I feel that an extra newline before the second 1x2 Array{Int64,2}: block would be more readable:

julia> Array[[1 2] [3 4]]
1x2 Array{Array{T,N},2}:
 1x2 Array{Int64,2}:
 1  2  1x2 Array{Int64,2}:
 3  4
@PythonNut
Copy link
Contributor

Like this?

julia> Array[[1 2] [3 4]]
1x2 Array{Array{T,N},2}:
 1x2 Array{Int64,2}:
 1  2
 1x2 Array{Int64,2}:
 3  4

On another note, nested indentation would be cool. Then we'd get:

julia> Array[[1 2] [3 4]]
1x2 Array{Array{T,N},2}:
 1x2 Array{Int64,2}:
   1  2
 1x2 Array{Int64,2}:
   3  4

@JeffBezanson
Copy link
Member

See also #6117, #8427, #29, #7959

@ihnorton ihnorton added the io Involving the I/O subsystem: libuv, read, write, etc. label Jan 30, 2015
@ihnorton ihnorton added the good first issue Indicates a good issue for first-time contributors to Julia label May 8, 2015
@JeffBezanson JeffBezanson removed the io Involving the I/O subsystem: libuv, read, write, etc. label Jul 10, 2015
@pkofod
Copy link
Contributor

pkofod commented Feb 25, 2016

This seems to have been fixed?

@KristofferC
Copy link
Member

Yes

1×2 Array{Any,2}:
 [1 2]  [1 2]

@vtjnash
Copy link
Member

vtjnash commented May 24, 2017

fixed by #17113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Indicates a good issue for first-time contributors to Julia
Projects
None yet
Development

No branches or pull requests

7 participants