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

Skip to content

Commit be9112c

Browse files
committed
Removed extraneous comment//verified Pep-8 is satisfied
1 parent f77b8e6 commit be9112c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

plotly/tools.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,8 +1561,8 @@ def _trisurf(x, y, z, simplices, colormap=None,
15611561
from plotly.graph_objs import graph_objs
15621562
points3D = np.vstack((x, y, z)).T
15631563

1564-
# vertices of the surface triangles
1565-
tri_vertices = map(lambda index: points3D[index], simplices)
1564+
# list of the surface triangles vertices
1565+
tri_vertices = list(map(lambda index: points3D[index], simplices))
15661566
# mean values of z-coordinates of triangle vertices
15671567
zmean = [np.mean(tri[:, 2]) for tri in tri_vertices]
15681568
min_zmean = np.min(zmean)
@@ -1600,9 +1600,6 @@ def _trisurf(x, y, z, simplices, colormap=None,
16001600
for item in array:
16011601
Ze.append(item)
16021602

1603-
#Xe, Ye, Ze = ([reduce(lambda x, y: x+y,
1604-
# lists_coord[k]) for k in range(3)])
1605-
16061603
# define the lines to be plotted
16071604
lines = graph_objs.Scatter3d(
16081605
x=Xe, y=Ye, z=Ze, mode='lines',

0 commit comments

Comments
 (0)