Skip to content

Commit 64dcbb2

Browse files
speed up wireframe autoscale
1 parent 84a4bbd commit 64dcbb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2461,7 +2461,7 @@ def plot_wireframe(self, X, Y, Z, *, axlim_clip=False, **kwargs):
24612461

24622462
linec = art3d.Line3DCollection(lines, axlim_clip=axlim_clip, **kwargs)
24632463
self.add_collection(linec)
2464-
self.auto_scale_xyz(X, Y, Z, had_data)
2464+
self.auto_scale_xyz(lines[..., 0], lines[..., 1], lines[..., 2], had_data)
24652465

24662466
return linec
24672467

0 commit comments

Comments
 (0)