Ticktext containing "" provokes changing plot size
オープン
まだ誰も着手していません。
plotly.js
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Create a plot with the following code and click any of 'Zoom in', 'Zoom out', 'Autoscale' or 'Reset axes'. The size of the plot shrinks and gets back to its original size after a few clicks. If ticktext doesn't contain "" everything works as expected.
library(plotly)
plot_ly() %>%
layout(
xaxis = list(
tickvals = 1:2,
ticktext = c("", "a")
)
)
This happens with plotly 4.9.2. I tested with older versions (4.8.0, 4.9.0, 4.9.1) and couldn't reproduce this behaviour.
I also couldn't reproduce it with the latest version of plotly.js.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、plotly 4.9.2 で提供された plot_ly()、layout()、xaxis ticktext の例を実行し、次にその動作をレポートで言及されている最新の plotly.js と比較します。空の ticktext 値が存在する状態で、Zoom in、Zoom out、Autoscale、Reset axes の各パスを追跡します。これらのコントロールによってプロットが縮小されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, r
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100