Skip to content

Commit 20dcbef

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR #25384: FIX: Remove some numpy function overrides from pylab
1 parent 97c836b commit 20dcbef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/matplotlib/pylab.py

+4
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,7 @@
4848
# This is needed, or bytes will be numpy.random.bytes from
4949
# "from numpy.random import *" above
5050
bytes = __import__("builtins").bytes
51+
# We also don't want the numpy version of these functions
52+
max = __import__("builtins").max
53+
min = __import__("builtins").min
54+
round = __import__("builtins").round

0 commit comments

Comments
 (0)