8000 adding get_data_3d method to Line3d · Raab70/matplotlib@93ac991 · GitHub
[go: up one dir, main page]

Skip to content

Commit 93ac991

Browse files
committed
adding get_data_3d method to Line3d
1 parent a92dff4 commit 93ac991

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/mpl_toolkits/mplot3d/art3d.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,12 @@ def set_data_3d(self, *args):
166166
self.set_ydata(y)
167167
self.set_3d_properties(zs=z)
168168

169+
def get_data_3d(self):
170+
"""
171+
Return the xdata, ydata, zdata.
172+
"""
173+
return self._verts3d
174+
169175
@artist.allow_rasterization
170176
def draw(self, renderer):
171177
xs3d, ys3d, zs3d = self._verts3d

0 commit comments

Comments
 (0)
0