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 03bb331 commit 493a9e0Copy full SHA for 493a9e0
plotly_resampler/figure_resampler/figure_resampler_interface.py
@@ -325,7 +325,7 @@ def _check_update_trace_data(
325
):
326
# is faster to escape the loop here than check inside the hasattr if
327
continue
328
- elif pd.core.dtypes.common.is_datetime64tz_dtype(hf_trace_data[k]):
+ elif isinstance(hf_trace_data[k], pd.DatetimeTZDtype):
329
# When we use the .values method, timezone information is lost
330
# so convert it to pd.DatetimeIndex, which preserves the tz-info
331
hf_trace_data[k] = pd.Index(hf_trace_data[k])
0 commit comments