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

Skip to content

Commit 13a3524

Browse files
authored
restore the indentation in conditional statement
Sorry, I seem to have made an unnecessary commit before.
1 parent 98f1189 commit 13a3524

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
@@ -6035,7 +6035,7 @@ def _interp_grid(X, require_monotonicity=False):
60356035
if np.shape(X)[1] > 1:
60366036
dX = np.diff(X, axis=1) * 0.5
60376037
if (require_monotonicity and
6038-
not (np.all(dX >= 0) or np.all(dX <= 0))):
6038+
not (np.all(dX >= 0) or np.all(dX <= 0))):
60396039
_api.warn_external(
60406040
f"The input coordinates to {funcname} are "
60416041
"interpreted as cell centers, but are not "

0 commit comments

Comments
 (0)