Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaskruchten committed Jul 5, 2020
1 parent 7f44e87 commit 3390b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/python/plotly/plotly/express/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,7 @@ def build_dataframe(args, constructor):
)

no_color = False
if type(args["color"]) == str and args["color"] == NO_COLOR:
if type(args.get("color", None)) == str and args["color"] == NO_COLOR:
no_color = True
args["color"] = None
# now that things have been prepped, we do the systematic rewriting of `args`
Expand Down

0 comments on commit 3390b34

Please sign in to comment.