8000 Bug fix · fariza/matplotlib@30681cd · GitHub
[go: up one dir, main page]

Skip to content

Commit 30681cd

Browse files
committed
Bug fix
1 parent b6b3dfa commit 30681cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3699,7 +3699,7 @@ def get_positions(self, name, group, position=-1):
36993699
"""
37003700

37013701
if position < 0:
3702-
position += len(self._groups[group]) + 1
3702+
position += len(self._groups.get(group, [])) + 1
37033703

37043704
return position, self.get_group_count(group)[0] + position
37053705

0 commit comments

Comments
 (0)
0