Black Lives Matter. Please consider donating to Black Girls Code today.

Labelling xyz-axis titles on Scatter3d plots

Hello,

I am just wondering if there is a way to label the xyz-axis on the following Scatter3d plot (https://plot.ly/python/3d-scatter-plots/).

-Felix

@Fxs7576 The x-axis label is set in layout[‘xaxis’] https://plot.ly/python/reference/#layout-scene-xaxis-title, and analogously for y and z-axis.

Just to add to the point above, here is an example https://plot.ly/python/3d-axes/#set-axes-title

Like this:

layout = go.Layout(
    margin=dict(
        l=0,
        r=0,
        b=0,
        t=0
    ),
    scene = dict(
    xaxis = dict(
        title='图片大小 KB'),
    yaxis = dict(
        title='下载时间 ms'),
    zaxis = dict(
        title='PV'),),


)