Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 90bf693 + 1d6b55d commit 7178833Copy full SHA for 7178833
1 file changed
lib/matplotlib/figure.py
@@ -992,7 +992,6 @@ def legend(self, handles, labels, *args, **kwargs):
992
993
.. plot:: mpl_examples/pylab_examples/figlegend_demo.py
994
"""
995
- handles = flatten(handles)
996
l = Legend(self, handles, labels, *args, **kwargs)
997
self.legends.append(l)
998
return l
0 commit comments