Facet Axis Titles cut off on plotly's chart studio
まだ誰も着手していません。
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
This issue is linked to this community post: https://community.plot.ly/t/ggplotly-renders-different-online-vs-offline/14989
When ggplot creates a facet plot, the labels are shared among the multiple axes. Because Plotly only has titles tied to individual axes, these labels are created using plotly annotations when the ggplot facet is ran through ggplotly
The annotations are aligned to the canvas. The yaxis label has a negative x coordinate, and the xaxis label has a negative y coordinate. The graph shows up fine in rstudio (or in chart creator) where more of the canvas is exposed:

But, when viewing in an iframe, the axis titles get cut off.

Can we find an alternative strategy to deal with axis titles on facet graphs? My first thought is to change the placement of the x and y axes relative to the canvas so there's room for the annotations at a 0 placement.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされたコミュニティ投稿から始め、iframe 内で ggplotly を通じてレンダリングされたファセット付き ggplot を再現し、RStudio またはチャート作成ビューと比較します。ファセットの軸ラベルがどのようにアノテーションになるかを調査し、両方の軸タイトルをクリッピングなしで表示し続ける戦略を定義します。完了の条件は、iframe 内でタイトルが完全にレンダリングされることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- r
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100