Skip to content

Commit 93a39b6

Browse files
committed
better variable names
1 parent 14a1da6 commit 93a39b6

File tree

1 file changed

+3
-3
lines changed
  • packages/python/plotly/plotly/express

1 file changed

+3
-3
lines changed

packages/python/plotly/plotly/express/_core.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -2448,9 +2448,9 @@ def get_groups_and_orders(args, grouper):
24482448

24492449
sorted_group_names = sorted(
24502450
grouped.keys(),
2451-
key=lambda group: [
2452-
orders[key].index(value) if value in orders[key] else -1
2453-
for key, value in zip(required_grouper, group)
2451+
key=lambda values: [
2452+
orders[group].index(value) if value in orders[group] else -1
2453+
for group, value in zip(required_grouper, values)
24542454
],
24552455
)
24562456

0 commit comments

Comments
 (0)