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 05b252c commit 5286426Copy full SHA for 5286426
plotly_resampler/figure_resampler.py
@@ -186,7 +186,7 @@ def check_update_trace_data(
186
hf_series: pd.Series = hf_trace_data["hf_series"]
187
start = hf_series.index[0] if start is None else start
188
end = hf_series.index[-1] if end is None else end
189
- if isinstance(hf_series.index, (pd.Int64Index, pd.UInt64Index)):
+ if hf_series.index.is_integer():
190
start = round(start)
191
end = round(end)
192
@@ -516,7 +516,7 @@ def add_trace(
516
if isinstance(hf_y, pd.Series)
517
else hf_y
518
)
519
- hf_y = np.asarray(hf_y)
+ # hf_y = np.asarray(hf_y)
520
521
# Note: "hovertext" takes precedence over "text"
522
hf_hovertext = (
0 commit comments