empty splom in case of two dimensions
オープン
まだ誰も着手していません。
bug
P3
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
Creating a splom with two dimensions, no diagonal and only the upper or lower half results in an empty figure.
Code that reproduces the issue:
import numpy as np
import pandas as pd
import plotly.graph_objects as go
data = pd.DataFrame({"col1": np.random.rand(10), "col2": np.random.rand(10)})
fig = go.Figure(
go.Splom(
dimensions=[{"label": label, "values": data[label]} for label in data.columns],
diagonal={"visible": False},
showupperhalf=False,
showlowerhalf=True,
),
)
fig.write_html("test.html") # or fig.show()
# Gives me an empty plot. Setting `diagonal` or `showupperhalf` to `True` does give a plot
Expected result
A single scatter plot.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
issue 内の go.Splom の再現から始め、特に 2 つの次元、非表示の対角線、下半分のみの設定を確認します。fig.show() または fig.write_html() を使ってスクリプトを実行し、生成された Figure の挙動を追跡します。2 次元の下半分のみの splom が空の Figure ではなく、単一の scatter plot をレンダリングすれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- numpy, pandas, python
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100