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 93a39b6 commit b8b4d29Copy full SHA for b8b4d29
packages/python/plotly/plotly/express/_core.py
@@ -2443,7 +2443,7 @@ def get_groups_and_orders(args, grouper):
2443
# we have a single group, so we can skip all group-by operations!
2444
groups = {tuple(single_group_name): df}
2445
else:
2446
- required_grouper = [key for key in orders if key in grouper]
+ required_grouper = [group for group in orders if group in grouper]
2447
grouped = dict(df.group_by(required_grouper, drop_null_keys=True).__iter__())
2448
2449
sorted_group_names = sorted(
0 commit comments