Animation breaks with more than 10 line traces with no specified color
未關閉
還沒有人認領這個 Issue。
- 主要語言
- R
- 星號
- 2.7k
- 分支
- 641
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Works ok
p <- plot_ly(txhousing, x = ~month, y = ~log(sales), frame = ~year, split = ~city, color = I("red"))
add_lines(p)

doesn't:
p <- plot_ly(txhousing, x = ~month, y = ~log(sales), frame = ~year, split = ~city)
add_lines(p)

@rreusser I think this is a plotly.js issue -- any chance default colors aren't being supplied properly?
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先執行 issue 中的兩個 plot_ly/add_lines 範例,比較使用明確顏色的情況與使用超過 10 個 city traces 且未指定顏色的情況。追蹤動畫期間是否提供了預設顏色,然後確認無顏色範例能正確進行動畫,同時不改變明確顏色的行為。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, r
- 領域
- data-visualization
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100