From b0d66a080a85aec59febfe7f98ed8af98369a17f Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sat, 19 Aug 2023 04:22:43 -0400 Subject: [PATCH] Remove NumPy abs overrides from pylab NumPy added abs in 1.26, which we don't want when we import * from it. Fixes #26553 --- lib/matplotlib/pylab.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/matplotlib/pylab.py b/lib/matplotlib/pylab.py index 684021b2e977..77eb6506d87f 100644 --- a/lib/matplotlib/pylab.py +++ b/lib/matplotlib/pylab.py @@ -59,6 +59,7 @@ # "from numpy.random import *" above bytes = __import__("builtins").bytes # We also don't want the numpy version of these functions +abs = __import__("builtins").abs max = __import__("builtins").max min = __import__("builtins").min round = __import__("builtins").round 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