Hover information partially disappear when providing color input
まだ誰も着手していません。
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Thanks for this package, it is very useful!
When using it, I encountered a kind of weird bug.
The two following plots should be identical and behave in the same way, except that the second one has colored points.
library(plotly)
plot_ly() %>%
add_markers(
x = c(1,2,3), y = c(1,2,3), z = c(1,2,3))
plot_ly() %>%
add_markers(
x = c(1,2,3), y = c(1,2,3), z = c(1,2,3), color = c(1,2,3))
For the first plot, all the values appear when I hover over all 3 points, as expected.
However, for the second plot, I can only hover over the second point; no information appears when I hover over the first nor the third point. Here are two screenshots that I made with the second plot (the one that has the bug).
The expected behavior is that the similar type of information would appear for all points.
More generally, I have the impression than when doing a scatter plot with $n$ points, I can only get the hover information of $n-2$ of them if they are colored. For example, the hoverinfo do not appear for the "extreme" points of this plot:
n = 10
plot_ly() %>%
add_trace(
x = 1:n, y = 1:n, z = 1:n, color = 1:n, type="scatter3d", mode="markers")
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、plot_ly()/add_markers() の 2 つの例と、n = 10 の scatter3d 例を実行して、極値点で hover 情報が欠落する問題を再現します。色付きの点と色なしの点で hover の挙動を比較します。すべての点で hover 情報が一貫して表示されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- r
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 32/100