plotly / plotly/plotly.R

Not all facets being shown with facet_wrap, boxplot and ggplotly

オープン
#2,032 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
R
スター
2.7k
フォーク
641
PR マージ指標
30日以内にマージされた PR はありません

説明

@cpsievert I'm seeing several open issues that are similar to this one (#1132, #1962, #1301, #1254, #1243, #1099, #1086, #897) and wasn't sure whether to add a new issue or not.

It seems like perhaps plotly is having some trouble with facet_wrap() -- my reprex is pretty simple. On my machine using the development (and non-development) version of plotly some facets are not being shown.

The images below are from plotly 4.9.4.9000.

library(ggplot2)
p <- ggplot(mtcars, aes(y = mpg)) + geom_boxplot() + facet_wrap(~cyl)
plotly::ggplotly(p)

Just ggplot2 (no plotly)
image

ggplotly (missing a couple of boxes)

image

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、ggplot2 の facet_wrap() と plotly::ggplotly() を使って R reprex を実行し、レンダリングされたファセットを提供されたスクリーンショットと比較します。元の ggplot2 プロットで生成されたすべてのファセットボックスが ggplotly に表示されれば、作業は完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
r
領域
data-visualization
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。