ggplotly() to show geom_ribbon() with only upper and lower bounds strokes
オープン
まだ誰も着手していません。
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
In the latest ggplto2 release, geom_ribbon() can only stroke the upper and lower bounds and I'm wondering whether it is possible for the ggplot-converted plotly graphic to also have this feature?
A small code to play around with:
library(ggplot2)
library(plotly)
#>
#> Attaching package: 'plotly'
#> The following object is masked from 'package:ggplot2':
#>
#> last_plot
#> The following object is masked from 'package:stats':
#>
#> filter
#> The following object is masked from 'package:graphics':
#>
#> layout
huron <- data.frame(year = 1875:1972, level = as.vector(LakeHuron))
p1 <- ggplot(huron, aes(year)) +
geom_ribbon(aes(ymin = level - 10, ymax = level + 10), fill = "grey", colour = "black")
p1

ggplotly(p1)

Created on 2022-02-18 by the reprex package (v2.0.1)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、付属の LakeHuron の例を ggplot2 と ggplotly で実行し、次に geom_ribbon() がどのように変換されるかを追跡します。変換前と変換後のプロットを比較し、結果のグラフィックで上側と下側の境界にのみストロークが保持されていることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- r
- 領域
- data-visualization
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100