From f50b4149d90bd9eeefd8d2e8580416ff2bc0886d Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Tue, 28 Jul 2020 13:32:36 -0700 Subject: [PATCH] FIX: catch all multi-dim warnings pandas --- lib/matplotlib/cbook/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/cbook/__init__.py b/lib/matplotlib/cbook/__init__.py index f6813b95739e..f78a4cb3ebbe 100644 --- a/lib/matplotlib/cbook/__init__.py +++ b/lib/matplotlib/cbook/__init__.py @@ -1321,7 +1321,7 @@ def _check_1d(x): with warnings.catch_warnings(record=True) as w: warnings.filterwarnings( "always", - category=DeprecationWarning, + category=Warning, message='Support for multi-dimensional indexing') ndim = x[:, None].ndim pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy