Improper alignment of boxplots in facets
オープン
まだ誰も着手していません。
ggplotly
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi,
first of all, thanks for a great package!
I have spent some time with it recently and I think that I have found a bug. If I use boxplots and facets, the boxplots in the upper facet are on the left side of the category while the boxplots in the bottom facet are on the right side of the category, while I believe that they should be aligned in the middle. Picture tells more than thousands words, so see bellow...
you can get it with the following code:
library(ggplot2)
library(plotly)
data.1 <- diamonds
data.1$set <- "set1"
data.2 <- data.1
data.2$set <- "set2"
my.data <- rbind(data.1, data.2)
p <- ggplot(my.data, aes(x=cut, y=price, fill= clarity))+
geom_boxplot()+
facet_grid(set ~ .)
ggplotly(p)%>%
layout(boxmode = "group")

コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
提供された ggplot2 と ggplotly の再現例から始め、ファセット化された箱ひげ図がどのように変換され、配置されるかに注目してください。例を再現し、両方のファセットの箱ひげ図がカテゴリの中央に配置され、グループ化されたレイアウトの動作が維持されていることを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- r
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100