-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
Hi,
I've noticed a bug related to one of the recent versions of matplotlib (at the time of writing). The error is raised when I draw the upsetplot using this line:
d = upset_obj.plot(fig=fig)
I've traced it back to the "legend.py" script of matplotlib 3.10.0, in which the following lines cause the issue:
labels = [*reversed(labels)]
handles = [*reversed(handles)]
if len(handles) < 2:
TypeError: object of type 'list_reverseiterator' has no len()
The issue is not present in matplotlib v3.9.2 since legend.py did not feature these lines.
Help much appreciated!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels