Plotly.d3 is undefined now
未關閉
還沒有人認領這個 Issue。
- 主要語言
- R
- 星號
- 2.7k
- 分支
- 641
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hello,
The example in the plotly book with the images appearing on hovering does no longer work. That's because Plotly.d3 is undefined in recent versions of plotly.js. This had been announced in the announcement of plotly.js v2.
So to make the example work, one has to include d3.js as a HTML dependency and do d3.select instead of Plotly.d3.select.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 plotly book 中的 supplying-custom-data 範例開始,檢查其 HTML 相依性和滑鼠懸停時的影像選取是如何定義的。更新該範例以使用已宣告的 D3 相依性,並驗證在近期版本的 plotly.js 中滑鼠懸停時影像仍會顯示。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- d3js, javascript, r
- 領域
- data-visualization, documentation
- Issue 類型
- 文件
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 50/100