Skip to content

Commit d9e679a

Browse files
committed
COMPAT: remove warnings from #11534
1 parent 50f9ae3 commit d9e679a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tools/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ def f(t):
547547
# Take the rest of the coefficients and resize them appropriately. Take a copy of amplitudes as otherwise
548548
# numpy deletes the element from amplitudes itself.
549549
coeffs = np.delete(np.copy(amplitudes), 0)
550-
coeffs.resize((coeffs.size + 1) / 2, 2)
550+
coeffs.resize(int((coeffs.size + 1) / 2), 2)
551551

552552
# Generate the harmonics and arguments for the sin and cos functions.
553553
harmonics = np.arange(0, coeffs.shape[0]) + 1

0 commit comments

Comments
 (0)