Skip to content

MNT: Remove *args for OffsetBox.__init__() #29386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Dec 30, 2024

*args were passed on to Artist.__init__(), but Artist does not accept any positional parameters. Passing any positional parameters to OffsetBox would thus have always failed internally. It is clearer to not accept any positional parameters for OffsetBox in the first place.

@timhoffm timhoffm added this to the v3.11.0 milestone Dec 30, 2024
*args were passed on to Artist.__init__(), but Artist does not accept
any positional parameters. Passing any positional parameters to
Offsetbox would thus have always failed internally. It is thus clearer
to not accept any positional parameters for OffsetBox in the first place
.
@timhoffm timhoffm force-pushed the remove-offestbox-args branch from 480c54f to c855d76 Compare December 30, 2024 00:31
@story645 story645 merged commit 2f75888 into matplotlib:main Dec 30, 2024
39 checks passed
@timhoffm timhoffm deleted the remove-offestbox-args branch December 30, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants