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

Skip to content

Commit a94e43f

Browse files
committed
Remove redundant cast to int
1 parent 2c37ba1 commit a94e43f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/matplotlib/cbook.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1747,7 +1747,6 @@ def simple_linear_interpolation(a, steps):
17471747
a0 = a[0:-1]
17481748
a1 = a[1:]
17491749
delta = ((a1 - a0) / steps)
1750-
steps = int(steps)
17511750
for i in range(1, steps):
17521751
result[i::steps] = delta * i + a0
17531752
result[steps::steps] = a1

0 commit comments

Comments
 (0)