Hi, PrettyTables developers,
Minimal repro
using PrettyTables
# OK
pretty_table(ones(3, 3); show_column_labels = false)
# ERROR
pretty_table(rand(500, 500); show_column_labels = false)
Expected
Render a table normally, without error.
Actual
For large matrices (e.g., 500×500), it errors with:
ERROR: MethodError: no method matching length(::Nothing)
Stacktrace:
[1] _text__print_table(pspec::PrettyTables.PrintingSpec; …, table_format::TextTableFormat)
@ PrettyTables ~/.julia/packages/PrettyTables/.../src/backends/text/text_backend.jl:518
Small tables (e.g., 3×3) work.
Environment
- Julia 1.10.10 (Windows, juliaup mingw)
- PrettyTables v3.0.8
- Plain REPL / VS Code terminal