Skip to content

Commit 815803f

Browse files
committed
🙈
1 parent 3977cd3 commit 815803f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plotly_resampler/figure_resampler/figure_resampler_interface.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,9 @@ def _check_update_trace_data(
292292
s_res: pd.Series = downsampler.aggregate(
293293
hf_series, hf_trace_data["max_n_samples"]
294294
)
295+
# Also parse the data types to an orjson compatible format
295296
trace["x"] = self._parse_dtype_orjson(s_res.index)
296-
trace["y"] = s_res.values
297+
trace["y"] = self._parse_dtype_orjson(s_res.values)
297298
# todo -> first draft & not MP safe
298299

299300
agg_prefix, agg_suffix = ' <i style="color:#fc9944">~', "</i>"

0 commit comments

Comments
 (0)