Skip to content

Renames the minumumSizeHint method to minimumSizeHint #28732

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
Aug 15, 2024

Conversation

clewarne14
Copy link
Contributor

PR summary

PR checklist

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a week or so, please leave a new comment below and that should bring it to our attention. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join us on gitter for real-time discussion.

For details on testing, writing docs, and our review process, please see the developer guide

We strive to be a welcoming and open project. Please follow our Code of Conduct.

@story645
Copy link
Member

Thanks for the PR!

I think since this is public API, it technically needs a deprecation period? Since the function is being renamed? Which is technically a kinda removal I think? https://matplotlib.org/devdocs/devel/api_changes.html#deprecate-api

Here I think we can get away with aliasing the old name to the new one and deprecating there, but unsure?

@timhoffm
Copy link
Member

No, this should not have a deprecation. This is a Qt API: https://doc.qt.io/qt-6/qwidget.html#minimumSizeHint-prop

Qt calls this to determine the size. With the typo the function was basically unused. No user should have called this.

@story645 story645 added this to the v3.9.3 milestone Aug 15, 2024
@story645 story645 merged commit 9fd2ef9 into matplotlib:main Aug 15, 2024
42 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Aug 15, 2024
@clewarne14 clewarne14 deleted the rename-qt-size-hint-method branch August 16, 2024 01:49
timhoffm added a commit that referenced this pull request Aug 16, 2024
…732-on-v3.9.x

Backport PR #28732 on branch v3.9.x (Renames the minumumSizeHint method to minimumSizeHint)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants