dynamicTicks = T does not respect position attribute in geom_point()
オープン
まだ誰も着手していません。
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I would like to use the dynamic ticks option with my plots in shiny although I am running into an issue with my plots that use a discrete x axis.
Plots appear as they should with dynamicTicks = F, however, after setting to TRUE the position = argument doesn't seem to be respected.
Furthermore, I notice that when using plotly_json() that some of the data items seem to go missing.
Any help with this issue would be much appreciated.
library(tidyverse)
library(plotly)
g <- mtcars %>%
ggplot(aes(fill = as_factor(carb))) +
geom_point(aes(x = as_factor(cyl), y = mpg), position = position_dodge(width = 0.5))
p <- ggplotly(dynamicTicks = T)
p
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
提供された R の再現コードを、ggplotly(dynamicTicks = T)、geom_point()、離散 x 軸、position_dodge() を使って開始します。レンダリングされたプロットを dynamicTicks = F の場合と比較し、欠落しているデータがないか plotly_json() を調べます。position 属性が尊重され、期待されるすべてのデータ項目が引き続き存在していれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- r
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100