Modified axis tick label in a `ggplot` object do not render in the `ggplotly` call
オープン
まだ誰も着手していません。
ggplotly
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
The axis tick labels generated byscales::math_format in aggplot object do not render in the ggplotly object. (Also, the annotation_logticks generates an warning that "geom_GeomLogticks() has yet to be implemented in plotly." Addressing that geom will be noted as a second issue, #1146)
library(ggplot2) # version 2.2.1
library(plotly) # version 4.7.1
g <-
ggplot(txhousing) +
aes(x = date, y = log10(volume)) +
geom_point() +
scale_y_continuous(labels = scales::math_format(10^.x)) +
annotation_logticks(side = "l")
g

ggplotly(g)

コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、plotly、ggplot2、scales を使った再現可能な R の例を実行し、ggplot と ggplotly の軸ラベルを比較します。scales::math_format のラベルが ggplotly オブジェクトにどのように転送されるかを追跡します。変更した目盛りラベルが ggplotly で表示されれば完了です。annotation_logticks は issue #1146 で別途追跡されています。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- r
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100