看板 Python 關於我們 聯絡資訊
大家好 請問一下 plotly要如何實現單一html顯示多圖? subplot的add trace無法達成我想要的結果 比如說 一個html裡面有兩個line chart 但是這兩個line chart都各自有八條線在其中 若使用subplot的add trace則會變成一條線一個圖 不知道各位先進是否有好的解法? 感謝 ---- Sent from BePTT on my Google Pixel 4 XL -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 64.9.255.4 (美國) ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1605423733.A.BAF.html
bluecadence: 使用 subplot 沒問題。 add_trace 裡面有 row, col 11/15 19:24
bluecadence: 兩個參數讓你指定 trace 要放進哪個 subplot 11/15 19:24
fetobow: 感謝幫忙 晚點來試看看 :) 11/16 05:10