You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
backend::Union{Symbol, T_BACKENDS}: Select which back-end will be used to print the table (see the section Backend). Notice
that the additional configuration in kwargs... depends on the selected backend.
but this no longer works in v2.1.2.
julia> pretty_table([1], backend = :text)
ERROR: TypeError: in keyword argument backend, expected Union{Val{:auto}, Val{:text}, Val{:html}, Val{:latex}}, got a value of type Symbol
Stacktrace:
[1] _pretty_table(io::IO, data::Vector{Int64}; header::Nothing, kwargs::Base.Pairs{Symbol, Symbol, Tuple{Symbol}, NamedTuple{(:backend,), Tuple{Symbol}}})
@ PrettyTables ~/.julia/packages/PrettyTables/tUDry/src/private.jl:275
[2] #pretty_table#60
@ ~/.julia/packages/PrettyTables/tUDry/src/print.jl:702 [inlined]
[3] top-level scope
@ REPL[7]:1
It used to work in v1.3.1. I see that there was a breaking change in v2 and you need to pass backend = Val(:text) now.
The text was updated successfully, but these errors were encountered:
The docstring for
pretty_table
saysbut this no longer works in v2.1.2.
It used to work in v1.3.1. I see that there was a breaking change in v2 and you need to pass
backend = Val(:text)
now.The text was updated successfully, but these errors were encountered: