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

Skip to content

Commit 687f1f8

Browse files
committed
Index with an integer in test_axes
1 parent 5f68f64 commit 687f1f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/tests/test_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ def test_nonfinite_limits():
523523
y = np.log(x)
524524
finally:
525525
np.seterr(**olderr)
526-
x[len(x)/2] = np.nan
526+
x[len(x)//2] = np.nan
527527
fig = plt.figure()
528528
ax = fig.add_subplot(111)
529529
ax.plot(x, y)

0 commit comments

Comments
 (0)