Skip to content

Commit b799e1e

Browse files
committed
comment
1 parent 2f44bf8 commit b799e1e

File tree

1 file changed

+1
-0
lines changed
  • packages/python/plotly/plotly/express

1 file changed

+1
-0
lines changed

packages/python/plotly/plotly/express/_core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -941,6 +941,7 @@ def build_dataframe(args, attrables, array_attrables):
941941
and args["hover_data"]
942942
and isinstance(args["hover_data"], dict)
943943
)
944+
# If dict, convert all values of hover_data to tuples to simplify processing
944945
if hover_data_is_dict:
945946
for k in args["hover_data"]:
946947
if not isinstance(args["hover_data"][k], tuple):

0 commit comments

Comments
 (0)