Skip to content

Commit eb284e4

Browse files
jpmatternQuLogic
andauthored
Update lib/matplotlib/colors.py
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent 1bc98c6 commit eb284e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/colors.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1303,8 +1303,7 @@ def _set_vmin_vmax(self):
13031303

13041304
def autoscale(self, A):
13051305
"""
1306-
Set *halfrange* to max(abs(*A*-*vcenter*)),
1307-
then set *vmin* and *vmax*.
1306+
Set *halfrange* to ``max(abs(A-vcenter))``, then set *vmin* and *vmax*.
13081307
"""
13091308
A = np.asanyarray(A)
13101309
self._halfrange = max(self._vcenter-A.min(),

0 commit comments

Comments
 (0)