import numpy as np
import plotly.graph_objects as go
# prepare data
data_points = 10
x = np.arange(data_points)
y = np.arange(data_points)
z = np.arange(data_points)
#create figure
fig = go.Figure(
go.Scatter3d(
x=x,
y=y,
z=z,
hovertemplate='<b>Your x label</b>: %{x}<br><b>Your y label</b>: %{y}<br><b>Your z label</b>: %{z}<br>'
)
)
fig.show()