Skip to content

Commit aaffabd

Browse files
committed
Minor comment fixes
1 parent e83ddaa commit aaffabd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/mplot3d/trisurf3d_demo2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
fig = plt.figure()
2020
ax = fig.add_subplot(1, 1, 1, projection='3d')
2121

22-
# The triangles in parameter space determnine which x, y, z points are
22+
# The triangles in parameter space determine which x, y, z points are
2323
# connected by an edge
2424
ax.plot_trisurf(x, y, z, triangles=tri.triangles, cmap=plt.cm.Spectral)
2525

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,6 @@ def plot_trisurf(self, *args, **kwargs):
16271627
tri, args, kwargs = Triangulation.get_from_args_and_kwargs(*args, **kwargs)
16281628
z = np.asarray(args[0])
16291629

1630-
# TODO: Support masked triangulations
16311630
triangles = tri.get_masked_triangles()
16321631
xt = tri.x[triangles][...,np.newaxis]
16331632
yt = tri.y[triangles][...,np.newaxis]

0 commit comments

Comments
 (0)