plotly / plotly/plotly.py

connection style for arrows

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

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

feature P3
主要言語
Python
スター
18.8k
フォーク
2.8k
平均マージ
16時間 26分
マージ済み PR(30日)
21

説明

It would be nice to have orthogonal and other types of connection style arrows when adding annotations. Matplotlib has something like:

import matplotlib.pyplot as plt

fig, ax = plt.subplots()

ax.plot([1, 2, 3], [4, 5, 2])

# Annotate with a connection line
ax.annotate("Important Point", xy=(2, 5), xytext=(1.5, 5.5),
            arrowprops=dict(arrowstyle="->", connectionstyle="arc3,rad=0.2"))

plt.show()

This would be useful for linking bars in timeline for example. Right now if you annotate the bar chart you can only add straight arrows.

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

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

はじめの一歩

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

調査の方向性

この issue では、ファイル、テスト、エントリーポイントが指定されていません。まずアノテーション矢印の実装を見つけ、現在の直線矢印の動作を Matplotlib の connectionstyle の例と比較してください。アノテーションが直交する接続スタイルやその他の接続スタイルをサポートし、タイムラインバー間のリンクも含めて、サポート対象のスタイルがテストでカバーされていれば完了です。

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

評価

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

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

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