[BUG]: `contour.showlegend` default differs from actual behavior
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 55/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- javascript
研究方向
The mismatch is set in src/traces/contour/style_defaults.js, lines 20-29, where showlegend is forced to false when coloring is not 'none'. Compare that with the documented default in the contour reference. Done means the documented default and the real behavior agree, which may mean editing the docs or the default, so confirm the intended direction with maintainers first. Check the existing contour tests before changing anything.
由索引模型根據 Issue 內容生成。
描述
Description
The contour.showlegend reference documents the default as true.
However, for contours with coloring !== 'none', the actual default is explicitly set to false in:
https://github.com/plotly/plotly.js/blob/4862f6271046024e58cd25bfa771e81ffe2fdce6/src/traces/contour/style_defaults.js#L20-L29
So the documented default does not match the actual behavior. Or this is confusing.
Screenshot
Codepen
- 主要語言
- JavaScript
- 星號
- 18.4k
- 分支
- 2.1k
- 平均合併
- 1 天 5 小時
- 30 天內合併 PR
- 12
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
plotly/plotly.js 的其他 Issue
-
[BUG]: `sankey`: `node.x` / `node.y` of `0` is ignored可能已有人在做 @adimalkar 於 1 天前認領。 未關閉bug P3 size: 1
難度 2/5 1-3 小時 新手友好度 75/100
plotly/plotly.js#8150 · 1 則留言 ·
維護者通常 2 天內回覆
-
[BUG]: `scatterpolargl` drops points between 10000 and 100000 points可能已有人在做 @Tanishdete333 於 1 天前認領。 未關閉bug P3 size: 1
難度 2/5 1-3 小時 新手友好度 82/100
plotly/plotly.js#8148 · 1 則留言 ·
維護者通常 2 天內回覆
-
[BUG]: findEmpties throws "iterated with no new neighbors" for large NaN regions in contour (double-precision underflow)可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉bug P3 size: 3
難度 2/5 1-3 小時 新手友好度 86/100
plotly/plotly.js#8108 · 4 則留言 ·
維護者通常 2 天內回覆
-
chore P3 plotly-internal size: 3 task
難度 2/5 1-3 小時 新手友好度 77/100
plotly/plotly.js#8064 · 1 則留言 ·
維護者通常 2 天內回覆
-
chore P1 plotly-internal size: 1 task
難度 1/5 1 小時以內 新手友好度 82/100
維護者通常 2 天內回覆
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 65/100
維護者通常 1 天內回覆
-
Add toro4n to the data modeling tools可能已有人在做 @henriklantzhedstrom-prog 今天認領。 未關閉
難度 1/5 1 小時以內 新手友好度 62/100
neo4j/docs-getting-started#546 ·
-
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 25 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
libnativeapi/nativeapi#21 ·
-
area: core complexity: easy impact: medium
難度 2/5 1-3 小時 新手友好度 86/100
ueberdosis/tiptap#8668 ·
維護者通常 1 天內回覆