matplotlib / matplotlib/mplfinance

Regular intervals when using datetime instead of date

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

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

enhancement in progress
主要言語
Python
スター
4.4k
フォーク
678
PR マージ指標
30日以内にマージされた PR はありません

説明

I'm currently using mplfinance with a dataframe that contains datetime/pandas.Timestamp instead of just date. When I plot this, the x-axis ends up having irregularly spaced timestamps.

See example:

![image](https://user-images.githubusercontent.com/62899768/77939412-fbcffb00-726b-11ea-8525-676f0619df23.png)

Instead, it would be good if either there were intervals / timegaps that were user-provided or were regularly spaced (eg. 9:30am, 12pm, 4pm, etc). It would also be nice if the user can specify the date/time format to use when graphing.

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

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

はじめの一歩

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

調査の方向性

datetime または pandas.Timestamp の値を持つ dataframe を使用して例を再現し、mplfinance が x 軸上でタイムスタンプをどのように配置およびフォーマットするかを確認します。完成した動作で、通常の間隔、ユーザーが指定した時間間隔、設定可能な日付/時刻フォーマットのいずれを使用するべきか、またはその 3 つすべてを使用するべきかを明確にし、その後、提供された画像と要求された例に照らして結果を検証します。

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

評価

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

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

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