Skip to content

Commit 3d16c24

Browse files
committed
Fix Grouper example code
Closes matplotlib#19206.
1 parent 099c173 commit 3d16c24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/cbook/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -820,8 +820,8 @@ class Grouper:
820820
>>> grp.join(a, b)
821821
>>> grp.join(b, c)
822822
>>> grp.join(d, e)
823-
>>> sorted(map(tuple, grp))
824-
[(a, b, c), (d, e)]
823+
>>> list(grp)
824+
[[a, b, c], [d, e]]
825825
>>> grp.joined(a, b)
826826
True
827827
>>> grp.joined(a, c)

0 commit comments

Comments
 (0)