fonsp / Pluto.jl

🎈 Simple reactive notebooks for Julia
https://plutojl.org/
MIT License
5k stars 293 forks source link

Multi-dimensional `StructArrays` are displayed as vectors. #3020

Open laggvar opened 2 months ago

laggvar commented 2 months ago

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


Pangoraw commented 2 months ago

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.

aplavin commented 1 month ago

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