1
下面是我的代碼,可能有人告訴我,我怎麼設置背景顏色,標題,X軸Y軸標籤:如何在Plotly(python)中設置背景顏色和標題?
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')
P.S:這是直接顯示在網頁上。
感謝,這解決了我的問題,讓我知道如何工作的。 – sid8491
@ user3196845請標記爲已接受的答案,然後 – rawbeans
標記爲已接受,謝謝。 – sid8491