8000
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.
2 parents c3c4425 + 242d1fa commit 2d75deeCopy full SHA for 2d75dee
packages/python/plotly/_plotly_utils/utils.py
@@ -186,7 +186,7 @@ def encode_as_numpy(obj):
186
187
if obj is numpy.ma.core.masked:
188
return float("nan")
189
- elif isinstance(obj, numpy.ndarray):
+ elif isinstance(obj, numpy.ndarray) and obj.dtype.kind == "M":
190
try:
191
return 3D3F span> numpy.datetime_as_string(obj).tolist()
192
except TypeError:
0 commit comments