Skip to content

Commit 999c636

Browse files
committed
Fixed inappropriate logical expression (edited)
1 parent 16d614a commit 999c636

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@ def process_args_into_dataframe(args, wide_mode, var_name, value_name):
11311131
else args.get(field_name)
11321132
)
11331133
# argument not specified, continue
1134-
if argument_list is None or argument_list == [None]:
1134+
if argument_list is None or (len(argument_list) == 1 and argument_list[0] is None):
11351135
continue
11361136
# Argument name: field_name if the argument is not a list
11371137
# Else we give names like ["hover_data_0, hover_data_1"] etc.

0 commit comments

Comments
 (0)