Incorrect marker style in scatter3d
オープン
まだ誰も着手していません。
bug
P3
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
I was using plotly inside jupyter notebook and I wanted to change the border width of markers in a scatter3d plot. It turns out the property 'marker.line.with' does not work. While in the 2d scatter plot, this property just works fine in jupyter notebook.
Here is the code I used to generate the scatter3d plot
import plotly.graph_objects as go
# Generate example data
import numpy as np
np.random.seed(1)
x = np.random.uniform(low=3, high=6, size=(50,))
y = np.random.uniform(low=3, high=6, size=(50,))
z = np.random.uniform(low=3, high=6, size=(50,))
# Build figure
fig = go.Figure()
# Add scatter trace with medium sized markers
fig.add_trace(
go.Scatter3d(
mode='markers',
x=x,
y=y,
z=z,
marker=dict(
color='red',
size=10,
opacity=0.8,
line=dict(
color='black',
width=5
)
),
showlegend=False
)
)

Even if I change the 'marker.line.width' to a very large number, like 50, the plot does not change at all.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、提供されている go.Scatter3d の例を Jupyter notebook で実行し、Scatter3d marker.line.width のエントリーポイントを調べます。2D scatter の場合と動作を比較します。marker の境界線の幅が目に見えて変化し、その動作が回帰テストでカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- jupyter-notebook, python
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100