Skip to content

Conversation

@kroq-gar78
Copy link
Contributor

@kroq-gar78 kroq-gar78 commented Dec 15, 2025

Protects against arguments being passed into the wrong method. Otherwise make_figure silently swallows extra kwargs.

(In a similar vein as #579.)

@mvdoc
Copy link
Contributor

mvdoc commented Dec 15, 2025

Thank you! How about removing kwargs completely? It's OK if we break backward compatibility...I don't think anyone is using kwargs there anymore (unless kwargs are used somewhere else where we call make_figure).

@mvdoc mvdoc merged commit 1cbc78e into gallantlab:main Dec 15, 2025
15 checks passed
@kroq-gar78 kroq-gar78 deleted the check-figure-kwargs branch December 15, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants