From 2d077f0da7b83743bde342588c84b5356bf07ba3 Mon Sep 17 00:00:00 2001 From: Hero Date: Mon, 15 Jan 2024 04:54:59 -0600 Subject: [PATCH] main.py fix matplotlib.MatplotlibDeprecationWarning (#225) --- poker/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poker/main.py b/poker/main.py index 3d126494..d6e717fa 100644 --- a/poker/main.py +++ b/poker/main.py @@ -32,7 +32,7 @@ # pylint: disable=no-member,simplifiable-if-expression,protected-access,line-too-long,use-fstring-for-concatenation,refactoring:missing-module-dosctring, -warnings.filterwarnings("ignore", category=matplotlib.cbook.mplDeprecation) +warnings.filterwarnings("ignore", category=matplotlib.MatplotlibDeprecationWarning) warnings.filterwarnings("ignore", message="ignoring `maxfev` argument to `Minimizer()`. Use `max_nfev` instead.") warnings.filterwarnings("ignore", message="DataFrame columns are not unique, some columns will be omitted.") warnings.filterwarnings("ignore", message="All-NaN axis encountered")