Skip to content

Commit 5802dee

Browse files
trying again with full tests
1 parent fb85ef1 commit 5802dee

File tree

1 file changed

+4
-4
lines changed
  • packages/python/plotly/plotly/express

1 file changed

+4
-4
lines changed

Diff for: packages/python/plotly/plotly/express/_core.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1021,10 +1021,10 @@ def _escape_col_name(df_input, col_name, extra):
10211021

10221022

10231023
def to_array(x):
1024-
# if hasattr(x, "array"):
1025-
# timezone-preserving way to get vector out of a pandas Series since 0.24
1026-
# n.b. calling x.values returns UTC-converted dates which we don't want
1027-
# return x.array
1024+
if hasattr(x, "array"):
1025+
# timezone-preserving way to get vector out of a pandas Series since 0.24
1026+
# n.b. calling x.values returns UTC-converted dates which we don't want
1027+
return x.array
10281028
return np.array(x)
10291029

10301030

0 commit comments

Comments
 (0)