Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Change.T to.transpose() in_reshape_2D#29896

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
story645 merged 1 commit intomatplotlib:mainfrommtsokol:cbook-_reshape_2D-tweak
Apr 10, 2025

Conversation

mtsokol
Copy link
Contributor

Hi!

This PR introduces a small change tolib/matplotlib/cbook.py. To make.TArray API compatible it must raise an exception for scalar arrays and arrays withndim != 2.
Innumpy/numpy#28678 we first introduce a warning for that purpose.

matplotlib that is used in NumPy docs-check CI job causes a failure by raising multiple warnings fromplt.hist. This backward-compatible change fixes it..transpose() stays the same as it isn't covered in Array API.

@story645story645 merged commit26d482b intomatplotlib:mainApr 10, 2025
40 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestApr 10, 2025
timhoffm added a commit that referenced this pull requestApr 10, 2025
…896-on-v3.10.xBackport PR#29896 on branch v3.10.x (Change `.T` to `.transpose()` in `_reshape_2D`)
@mtsokolmtsokol deleted the cbook-_reshape_2D-tweak branchApril 11, 2025 08:40
@ksundenksunden mentioned this pull requestMay 9, 2025
5 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.10.3
Development

Successfully merging this pull request may close these issues.

3 participants
@mtsokol@tacaswell@story645

[8]ページ先頭

©2009-2025 Movatter.jp