FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

MNT: Numpy 2.0 removals from ndarray class by ksunden · Pull Request #26762 · matplotlib/matplotlib · GitHub

MNT: Numpy 2.0 removals from ndarray class - #26762

Merged
timhoffm merged 1 commit into
matplotlib:mainfrom
ksunden:np_20_ptp_newbyteorder
Sep 14, 2023
Merged

MNT: Numpy 2.0 removals from ndarray class#26762
timhoffm merged 1 commit into
matplotlib:mainfrom
ksunden:np_20_ptp_newbyteorder

Conversation

ksunden commented Sep 13, 2023

Copy link
Copy Markdown
Member

PR summary

xref numpy/numpy#24682

Only a handful of lines, and mostly in tests/relatively unused utility functions like rgb_to_hsv, but still something that should be addressed.

PR checklist

xref numpy/numpy#24682

Only a handful of lines, and _mostly_ in tests/relatively unused utility functions like rgb_to_hsv, but still something that should be addressed.

QuLogic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I'm not sure if it matters too much, but the upstream PR does do the view before byteswap.

ksunden commented Sep 14, 2023

Copy link
Copy Markdown
Member Author

I'm pretty sure those are equivalent; byteswap will incur a copy (unless inplace=True) and view is just a view, but whether the copy comes before or after the view doesn't really matter.

timhoffm added this to the v3.8.0 milestone Sep 14, 2023
timhoffm merged commit 4c73219 into matplotlib:main Sep 14, 2023
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Sep 14, 2023
ksunden mentioned this pull request Sep 15, 2023
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL