Closed
Description
The option showscale
for plotly.graph_objects.scatter3d.Line
doesn't make a color scale appear, or seem to do anything. Here's an example:
import numpy as np
import plotly.graph_objs as go
x, y, z, c = np.random.random_sample((4, 10))
go.FigureWidget(data=[go.Scatter3d(
x=x,
y=y,
z=z,
mode="lines",
line=go.scatter3d.Line(
color=c,
showscale=True
)
)])
While, for the equivalent marker plot:
go.FigureWidget(data=[go.Scatter3d(
x=x,
y=y,
z=z,
mode="markers",
marker=go.scatter3d.Marker(
color=c,
showscale=True
)
)])