diff --git a/plotly/tools.py b/plotly/tools.py index f7342c6447a..f2a3d98b709 100644 --- a/plotly/tools.py +++ b/plotly/tools.py @@ -3338,7 +3338,7 @@ def _trisurf(x, y, z, simplices, show_colorbar, edges_color, facecolor.append(color) # Make sure facecolor is a list so output is consistent across Pythons - facecolor = list(facecolor) + facecolor = np.asarray(facecolor) ii, jj, kk = simplices.T triangles = graph_objs.Mesh3d(x=x, y=y, z=z, facecolor=facecolor,