We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50f9ae3 commit d9e679aCopy full SHA for d9e679a
pandas/tools/plotting.py
@@ -547,7 +547,7 @@ def f(t):
547
# Take the rest of the coefficients and resize them appropriately. Take a copy of amplitudes as otherwise
548
# numpy deletes the element from amplitudes itself.
549
coeffs = np.delete(np.copy(amplitudes), 0)
550
- coeffs.resize((coeffs.size + 1) / 2, 2)
+ coeffs.resize(int((coeffs.size + 1) / 2), 2)
551
552
# Generate the harmonics and arguments for the sin and cos functions.
553
harmonics = np.arange(0, coeffs.shape[0]) + 1
0 commit comments