ggplotly doesn't show minor_breaks
未關閉
還沒有人認領這個 Issue。
enhancement
ggplotly
- 主要語言
- R
- 星號
- 2.7k
- 分支
- 641
- PR 合併指標
- 30 天內沒有已合併 PR
描述
ggplotly doesn't show lines created with minor_breaks:
library(ggplot2)
library(plotly)
x <- seq(0, 3.5, by = 0.5)
y <- x * 0.95
df <- data.frame(x, y)
gg <- ggplot(df, aes(x, y)) + geom_point() +
scale_x_continuous(minor_breaks=seq(0, 3.5, 0.2))
gg # Vertical lines at intervals of 0.2
ggplotly(gg) # Vertical lines at even integers


貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先執行提供的使用 ggplot2 和 plotly 的 R 範例,然後將 gg 顯示的 minor_breaks 與 ggplotly 顯示的 minor_breaks 進行比較。追蹤 ggplotly 如何轉換 scale,並確認產生的視覺化是否在指定的 0.2 間隔處顯示垂直線。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- r
- 領域
- data-visualization
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100