plotly / plotly/plotly.js

lightposition behaves weirdly

オープン
#2,477 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug P3
主要言語
JavaScript
スター
18.3k
フォーク
2k
平均マージ
2日 12時間
マージ済み PR(30日)
28

説明

lightposition behaves similarly for both mesh3d and surface, but it's nearly unusable. Generally x is left (-) to right (+) and y is bottom (-) to top(+), but z has effects that defy easy categorization other than z=1 being "special". Sometimes x and y flip randomly, and anyway they don't seem to have the same scales, ie x=y does not put the light at 45 degrees.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、mesh3d と surface の両方のトレースで lightposition を再現し、z=1 を含む x、y、z の値を確認します。得られた光の方向と軸のスケールを、文書化された座標の想定と比較します。動作に一貫性があり、x=y で期待される 45 度の関係が得られ、報告されたケースのリグレッションカバレッジがあれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
computer-graphics, data-visualization
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
28/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。