Skip to content

Commit bcc39cf

Browse files
Fix PrettyTables v3 compatibility: change header to column_labels
PrettyTables v3.0.0 introduced breaking API changes. The `header` parameter has been renamed to `column_labels`. This commit updates the extension to use the new parameter name to ensure compatibility with both v2.4+ and v3.x of PrettyTables. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 5b082da commit bcc39cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/SymbolicIndexingInterfacePrettyTablesExt/SymbolicIndexingInterfacePrettyTablesExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function SymbolicIndexingInterface.show_params(
3636
end
3737

3838
pretty_table(io, [params[1:num_shown] vals[1:num_shown]];
39-
header = ["Parameter", "Value"],
39+
column_labels = ["Parameter", "Value"],
4040
kwargs...)
4141

4242
if num_shown < length(params)

0 commit comments

Comments
 (0)