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

Commit55894c2

Browse files
authored
Merge pull request#16382 from meeseeksmachine/auto-backport-of-pr-16379-on-v3.1.x
Backport PR#16379 on branch v3.1.x (FIX: catch on message content, not module)
2 parentsbbf4c7c +85e3f1c commit55894c2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎lib/matplotlib/cbook/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,9 +1414,10 @@ def _check_1d(x):
14141414
# This code should correctly identify and coerce to a
14151415
# numpy array all pandas versions.
14161416
withwarnings.catch_warnings(record=True)asw:
1417-
warnings.filterwarnings("always",
1418-
category=DeprecationWarning,
1419-
module='pandas[.*]')
1417+
warnings.filterwarnings(
1418+
"always",
1419+
category=DeprecationWarning,
1420+
message='Support for multi-dimensional indexing')
14201421

14211422
ndim=x[:,None].ndim
14221423
# we have definitely hit a pandas index or series object

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp