Thanks to visit codestin.com Credit goes to github.com
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 c216146 commit 3b5f51dCopy full SHA for 3b5f51d
packages/python/plotly/plotly/express/_core.py
@@ -1297,11 +1297,8 @@ def build_dataframe(args, constructor):
1297
if field in array_attrables and args[field] is not None:
1298
if isinstance(args[field], dict):
1299
args[field] = dict(args[field])
1300
- elif (
1301
- field in ["custom_data", "hover_data"]
1302
- and isinstance(args[field], str)
1303
- and "data_frame" in args.keys()
1304
- and args[field] in args["data_frame"].columns
+ elif field in ["custom_data", "hover_data"] and isinstance(
+ args[field], str
1305
):
1306
args[field] = [args[field]]
1307
else:
0 commit comments