We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d83473d commit 8439681Copy full SHA for 8439681
lib/matplotlib/legend.py
@@ -1336,17 +1336,17 @@ def _in_handles(h, l):
1336
if type(f_h) != type(h):
1337
continue
1338
try:
1339
- if f_h.get_color() != h.get_color():
+ if (f_h.get_color() != h.get_color()).any():
1340
1341
except AttributeError:
1342
pass
1343
1344
- if f_h.get_facecolor() != h.get_facecolor():
+ if (f_h.get_facecolor() != h.get_facecolor()).any():
1345
1346
1347
1348
1349
- if f_h.get_edgecolor() != h.get_edgecolor():
+ if (f_h.get_edgecolor() != h.get_edgecolor()).any():
1350
1351
1352
0 commit comments