Pluto.jl icon indicating copy to clipboard operation
Pluto.jl copied to clipboard

Multi-dimensional `StructArrays` are displayed as vectors.

Open johroj opened this issue 1 year ago • 2 comments

I find it very confusing that that linear indexing is used and size information is hidden. image


johroj avatar Sep 12 '24 08:09 johroj

StructArrays implement the Tables.jl interface which has more priority than the matrix display. You could collect to a matrix in order to see the 2 dimensions.

Pangoraw avatar Sep 12 '24 11:09 Pangoraw

Yet another case of overeager table display in Pluto, I guess... See also https://github.com/fonsp/Pluto.jl/issues/2417.

aplavin avatar Sep 27 '24 13:09 aplavin