Skip to content

Commit c8b5dea

Browse files
committed
Use guarded autoscale_None for use when vmin/vmax are None.
1 parent 281b09d commit c8b5dea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4943,7 +4943,7 @@ def reduce_C_function(C: array) -> float
49434943
# autoscale the norm with current accum values if it hasn't been set
49444944
if norm is not None:
49454945
if norm.vmin is None and norm.vmax is None:
4946-
norm.autoscale(accum)
4946+
norm.autoscale_None(accum)
49474947

49484948
if bins is not None:
49494949
if not np.iterable(bins):

0 commit comments

Comments
 (0)