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.
1 parent 41607be commit 074425fCopy full SHA for 074425f
1 file changed
lib/matplotlib/axes.py
@@ -4192,6 +4192,9 @@ def _get_legend_handles(self):
4192
if isinstance(c, mcoll.RegularPolyCollection)])
4193
handles.extend([c for c in self.collections
4194
if isinstance(c, mcoll.CircleCollection)])
4195
+
4196
+ handles = [h for h in handles if h.get_label() != "_nolegend_"]
4197
4198
return handles
4199
4200
0 commit comments