plotly / plotly/plotly.js

Secondary x-axis numberline doesn't show on histogram plots

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

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

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

説明

I'm trying to make a plot that histograms two variables (min, max) for two sources (two different LEDs).
The plot should have two y axes and two x-axes; both sets of minimum values are plotted with a given pair of x-y axes, and both sets of maximum values on the other. This appears to be straightforward to implement; just specify the two additional axes in the layout and set the corresponding traces to use them, but for some reason although the secondary x-axis title is shown at the top (as desired), the corresponding axis numberline isn't.
reproducible example
Apologies for the somewhat contrived example code, it's hacked out of a wider webpage, but i think is easy enough to understand.

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

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

はじめの一歩

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

調査の方向性

リンクされたJSBinの再現可能な例から始め、セカンダリx軸のタイトルはレンダリングされる一方で、そのnumberlineはレンダリングされないことを確認します。関連するplotly.jsの軸レンダリング経路を追跡し、ヒストグラム設定で動作を検証します。セカンダリx軸のnumberlineがそのタイトルの横に表示されれば完了です。

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

評価

技術スタック
javascript
領域
data-visualization
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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