Skip to content

Commit 868da9d

Browse files
fix tests for real
1 parent c93201a commit 868da9d

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ def build_dataframe(args, constructor):
13511351
)
13521352

13531353
no_color = False
1354-
if type(args["color"]) == str and args["color"] == NO_COLOR:
1354+
if type(args.get("color", None)) == str and args["color"] == NO_COLOR:
13551355
no_color = True
13561356
args["color"] = None
13571357
# now that things have been prepped, we do the systematic rewriting of `args`

0 commit comments

Comments
 (0)