Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb284e4

Browse files
jpmatternQuLogic
andauthored
Update lib/matplotlib/colors.py
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent 1bc98c6 commit eb284e4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/matplotlib/colors.py

Lines changed: 1 addition & 2 deletions
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)