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 45bb304 commit 3581b91Copy full SHA for 3581b91
plotly_resampler/aggregation/aggregators.py
@@ -90,7 +90,7 @@ def _aggregate(self, s: pd.Series, n_out: int) -> pd.Series:
90
# significantly less prone to it than the previos implementation.
91
s_i0 = s_i[0].astype(np.int64)
92
idx, data = lttbc.downsample(
93
- (s_i.astype(np.int64) - s_i0).astype(np.float64), s_v, 1000
+ (s_i.astype(np.int64) - s_i0).astype(np.float64), s_v, n_out
94
)
95
96
# add the start-offset and convert back to datetime
0 commit comments