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

Skip to content

Commit fe03e22

Browse files
committed
add container.py and revise the bar command to return a container
1 parent 3991bea commit fe03e22

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/matplotlib/axes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4212,6 +4212,7 @@ def _get_legend_handles(self):
42124212
handles.extend([c for c in self.collections
42134213
if isinstance(c, cls)])
42144214

4215+
handles.extend([c for c in self.containers])
42154216
return handles
42164217

42174218

0 commit comments

Comments
 (0)