Skip to content

Commit 16d614a

Browse files
committed
Fixed Inappropriate Logical Expression
1 parent 99e63da commit 16d614a

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 is [None]:
1134+
if argument_list is None or argument_list == [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)