以下是我的代码,有人可以告诉我如何设置背景颜色,标题,x轴y轴标签:
scatterplot = plot([Scatter(x=x.index,
y=x['rating'],
mode='markers',
marker=dict(size=10,
color=x['value'],
colorscale='Viridis',
showscale=True),
text=(x['value'] + ' ' + x['Episode'] + '<br>' + x['label']))],
output_type='div'
)
Run Code Online (Sandbox Code Playgroud)
PS:这是直接显示在网页中。