Hi,
generating a Scatter plot with a logarithmic y axis and given error_y works fine whereas creating a similar plot with Scatter3d with error bars results in extremely large error bars. The proportions of the error bars in the 3D plot are correct if type='log' is omitted.
Example:
#!/usr/bin/env python3# encoding=utf-8importplotly.plotlyaspyimportplotly.graph_objsasgoimportplotly.offlineimportnumpyasnpmeasurements=list(range(3))
x=np.array(range(10))
z=np.array([10**iforiinrange(10)])
z_errors=z*0.3# 2D plottrace= [go.Scatter(
x=x,
y=z,
error_y=dict(
type='data',
array=z_errors,
visible=True,
),
)]
layout=go.Layout(
yaxis=dict(
type='log',
),
)
fig=go.Figure(data=trace, layout=layout)
plotly.offline.plot(fig, filename='example_2d.html')
# 3D plottraces= [go.Scatter3d(
x=x,
y= [constant] *len(x),
z=z,
error_z=dict(
type='data',
array=z_errors,
visible=True,
),
) forconstantinmeasurements]
layout=go.Layout(
scene=dict(
zaxis=dict(
type='log',
),
)
)
fig=go.Figure(data=traces, layout=layout)
plotly.offline.plot(fig, filename='example_3d.html')
Results:
2D (type='log')

3D (type='log')

3D

Hi,
generating a
Scatterplot with a logarithmic y axis and givenerror_yworks fine whereas creating a similar plot withScatter3dwith error bars results in extremely large error bars. The proportions of the error bars in the 3D plot are correct iftype='log'is omitted.Example:
Results:
2D (

type='log')3D (

type='log')3D
