相关疑难解决方法(0)

如何在Plotly(python)中设置背景颜色和标题?

以下是我的代码,有人可以告诉我如何设置背景颜色,标题,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:这是直接显示在网页中。

python django r plotly

1
推荐指数
1
解决办法
3850
查看次数

标签 统计

django ×1

plotly ×1

python ×1

r ×1