Add add_*() functions for each trace type and provide error checking
未關閉
還沒有人認領這個 Issue。
plotly.js
- 主要語言
- R
- 星號
- 2.7k
- 分支
- 641
- PR 合併指標
- 30 天內沒有已合併 PR
描述
- For example,
add_scatter()/add_bar()/etc. These would essentially be thin wrappers aroundadd_trace()with the proper type.- Throw errors for when required properties are missing. For example,
add_scatter3d()requiresx/y/z. - Throw errors for when a property is of the wrong type. See, for example, #329.
- Throw errors for when required properties are missing. For example,
@timelyportfolio this would maybe be a good exercise if you're up for it?
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先檢視現有的 add_*() 包裝器和 add_trace() 進入點,接著檢查 issue #329,以確認預期的錯誤型別驗證行為。確認哪些 trace 型別和屬性仍缺少檢查,並將完成定義為:對無效的屬性型別引發錯誤,同時不破壞現有的必要屬性檢查。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- r
- 領域
- data-visualization
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100