10000 Update lib/matplotlib/collections.py · matplotlib/matplotlib@5441e09 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5441e09

Browse files
timhoffmrth
andauthored
Update lib/matplotlib/collections.py
Co-Authored-By: rth <rth.yurchak@pm.me>
1 parent 602cbd1 commit 5441e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ def get_positions(self):
14021402
'''
14031403
segments = self.get_segments()
14041404
pos = 0 if self.is_horizontal() else 1
1405-
positions = [segment[0, pos] for segment in segments]
1405+
return [segment[0, pos] for segment in self.get_segments()]
14061406
return positions
14071407

14081408
def set_positions(self, positions):

0 commit comments

Comments
 (0)
0