Skip to content

Commit 9b28249

Browse files
committed
andrew's comment on z[:1]
1 parent 0fc055d commit 9b28249

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plotly/tools.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -3352,9 +3352,9 @@ def _trisurf(x, y, z, simplices, show_colorbar, edges_color,
33523352
colorscale = FigureFactory._convert_colorscale_to_rgb(colorscale)
33533353

33543354
colorbar = graph_objs.Scatter3d(
3355-
x=x[0:1],
3356-
y=y[0:1],
3357-
z=z[0:1],
3355+
x=x[:1],
3356+
y=y[:1],
3357+
z=z[:1],
33583358
mode='markers',
33593359
marker=dict(
33603360
size=0.1,

0 commit comments

Comments
 (0)