Skip to content

Inline _calc_extents_from_path. #29831

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
Apr 2, 2025
Merged

Inline _calc_extents_from_path. #29831

merged 1 commit into from
Apr 2, 2025

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Mar 29, 2025

The function can easily be inlined into its sole caller without affecting readability; this avoids having to lengthily document its inputs and outputs.

(This was introduced by @scottshambaugh in #29399 so perhaps he can comment on whether he planned to reuse the method elsewhere.)

PR summary

PR checklist

The function can easily be inlined into its sole caller without
affecting readability; this avoids having to lengthily document its
inputs and outputs.
@scottshambaugh
Copy link
Contributor

I probably split this out in case it was used elsewhere, but that didn’t make it in the final code. I’m fine with inlining it

@QuLogic QuLogic added this to the v3.11.0 milestone Apr 2, 2025
@QuLogic QuLogic merged commit 6cca7ba into matplotlib:main Apr 2, 2025
44 checks passed
@anntzer anntzer deleted the cefp branch April 2, 2025 07:19
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