Skip to content

Commit 3581b91

Browse files
committed
🙈
1 parent 45bb304 commit 3581b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly_resampler/aggregation/aggregators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def _aggregate(self, s: pd.Series, n_out: int) -> pd.Series:
9090
# significantly less prone to it than the previos implementation.
9191
s_i0 = s_i[0].astype(np.int64)
9292
idx, data = lttbc.downsample(
93-
(s_i.astype(np.int64) - s_i0).astype(np.float64), s_v, 1000
93+
(s_i.astype(np.int64) - s_i0).astype(np.float64), s_v, n_out
9494
)
9595

9696
# add the start-offset and convert back to datetime

0 commit comments

Comments
 (0)