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

Skip to content

Commit 8c6e42a

Browse files
committed
Merge pull request #111 from WeatherGod/mplot3d/line_zpos
Added missing set_sort_zpos method for Line3DCollection objects. Thanks to Virgil Stokes for the bug report and patch.
2 parents d623307 + 4800e5a commit 8c6e42a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/mpl_toolkits/mplot3d/art3d.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ def __init__(self, segments, *args, **kwargs):
162162
'''
163163
LineCollection.__init__(self, segments, *args, **kwargs)
164164

165+
def set_sort_zpos(self,val):
166+
'''Set the position to use for z-sorting.'''
167+
self._sort_zpos = val
168+
165169
def set_segments(self, segments):
166170
'''
167171
Set 3D segments

0 commit comments

Comments
 (0)