Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 35da937

Browse files
committed
removed casting handles to list
1 parent 1d13d2d commit 35da937

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/matplotlib/legend.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,6 @@ def val_or_rc(val, rc_name):
437437
_hand.append(handle)
438438
labels, handles = _lab, _hand
439439

440-
handles = list(handles)
441440
if len(handles) < 2:
442441
ncols = 1
443442
self._ncols = ncols if ncols != 1 else ncol

0 commit comments

Comments
 (0)