plotly / plotly/plotly.js

[Feature Request] Support line styles in Scattermapbox

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

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

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

説明

It would be nice to plot lines of different styles, e.g. dashed, dotted, etc. to a Scattermapbox layer. The lack for this feature has been noted here How do I change the line style to dash in a scattermapbox plot?, and here How to change line shape in mapbox maps?

Currently (Plotly 5.18), the only supported line attributes are "color" and "width" . However, distinguishing lines by color is not sufficient for monochrome styled figures. In addition, certain line styles are frequently expected:

  • minor roads = dashed line
  • under construction = dotted line

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

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

はじめの一歩

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

調査の方向性

Scattermapbox のエントリポイントから始め、現在の色属性と線幅属性がどのようにレンダリングに到達するかを確認してください。既存の Scattermapbox レンダリングテストがあるか確認してください。done には破線と点線のラインスタイルを含め、要求されたケースを実証するカバレッジを用意する必要があります。issue では特定のファイルやテストが指定されていないため、リポジトリの調査が必要です。

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

評価

技術スタック
javascript
領域
data-visualization
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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