Skip to content

Commit b8b4d29

Browse files
committed
better variable names
1 parent 93a39b6 commit b8b4d29

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
@@ -2443,7 +2443,7 @@ def get_groups_and_orders(args, grouper):
24432443
# we have a single group, so we can skip all group-by operations!
24442444
groups = {tuple(single_group_name): df}
24452445
else:
2446-
required_grouper = [key for key in orders if key in grouper]
2446+
required_grouper = [group for group in orders if group in grouper]
24472447
grouped = dict(df.group_by(required_grouper, drop_null_keys=True).__iter__())
24482448

24492449
sorted_group_names = sorted(

0 commit comments

Comments
 (0)