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

Commitfe0140e

Browse files
authored
Merge pull request#29900 from meeseeksmachine/auto-backport-of-pr-29896-on-v3.10.x
Backport PR#29896 on branch v3.10.x (Change `.T` to `.transpose()` in `_reshape_2D`)
2 parents6c394db +7470a81 commitfe0140e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/cbook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ def _reshape_2D(X, name):
13871387

13881388
# Iterate over columns for ndarrays.
13891389
ifisinstance(X,np.ndarray):
1390-
X=X.T
1390+
X=X.transpose()
13911391

13921392
iflen(X)==0:
13931393
return [[]]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp