Isosurface and other 3D types prevent Scatterplot hover
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
As this is ultimately a plotly.js issue, I'm referencing the following issue from plotly.py
Isosurface and other 3D types prevent Scatterplot hover
When plotting an Isosurface, Mesh3D etc, and also a Scatter3D trace,
the Isosurface object seems to prevent the hover functionality of the Scatter-Plot when trying to hover over a Scatter3D marker,
even though the Isosurface's hoverinfo parameter has been set to "skip".
reproducible example (written in Python, but illustrates the issue and produces the HTML and JS):
from pandas import DataFrame as DF
import plotly.graph_objects as go
df = DF([(20,10,400)])
plot = go.Figure()
plot.add_trace(go.Isosurface(
x=[5,5,5,5,50,50,50,50],
y=[25,0,25,0,25,0,25,0],
z=[500,500,0,0,500,500,0,0],
value=[1,2,3,4,5,6,7,8],
hoverinfo='skip',
opacity=0.05,
colorscale=[[0,'yellow'],[1,'yellow']],
showscale=False
)
)
plot.add_trace(go.Scatter3d(
x=df[0], y=df[1], z=df[2],
mode='markers', marker={'color': 'midnightblue', 'size': 5}, opacity=1,
name='scatterplot'
)
)
plot.show()
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Issue にある再現可能な例から始め、hoverinfo が "skip" に設定された Scatter3D トレースと Isosurface または Mesh3D を比較します。重ねられた 3D トレースがある場合でも Scatter3D マーカーへのホバーが機能すれば、Issue は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100