diff --git a/lib/matplotlib/colors.py b/lib/matplotlib/colors.py index 1e47c00c79b2..585381d9a7a8 100644 --- a/lib/matplotlib/colors.py +++ b/lib/matplotlib/colors.py @@ -1685,7 +1685,7 @@ def shade_normals(self, normals, fraction=1.): # visually appears better than a "hard" clip. intensity -= imin intensity /= (imax - imin) - intensity = np.clip(intensity, 0, 1, intensity) + intensity = np.clip(intensity, 0, 1) return intensity
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: