Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions lib/matplotlib/cbook/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1382,9 +1382,10 @@ def _check_1d(x):
# This code should correctly identify and coerce to a
# numpy array all pandas versions.
with warnings.catch_warnings(record=True) as w:
warnings.filterwarnings("always",
category=DeprecationWarning,
module='pandas[.*]')
warnings.filterwarnings(
"always",
category=DeprecationWarning,
message='Support for multi-dimensional indexing')

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