We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c93201a commit 868da9dCopy full SHA for 868da9d
packages/python/plotly/plotly/express/_core.py
@@ -1351,7 +1351,7 @@ def build_dataframe(args, constructor):
1351
)
1352
1353
no_color = False
1354
- if type(args["color"]) == str and args["color"] == NO_COLOR:
+ if type(args.get("color", None)) == str and args["color"] == NO_COLOR:
1355
no_color = True
1356
args["color"] = None
1357
# now that things have been prepped, we do the systematic rewriting of `args`
0 commit comments