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

Skip to content

Commit 4c14356

Browse files
committed
removed line casting handle to list
1 parent edfd3b4 commit 4c14356

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
@@ -448,7 +448,6 @@ def val_or_rc(val, rc_name):
448448
labels.reverse()
449449
handles.reverse()
450450

451-
handles = list(handles)
452451
if len(handles) < 2:
453452
ncols = 1
454453
self._ncols = ncols if ncols != 1 else ncol

0 commit comments

Comments
 (0)