matplotlib / matplotlib/mplfinance

xticks beyond those in DataFrame

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

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

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

説明

I found myself looking at trends and wanting to pseudo forecast them into the future by simply mouse over-ing at some future date. However, since that date is not in the DataFrame, there is neither tick marks nor the x,y display that is shown for all of the data.

I hacked together a solution by modifying the `IntegerIndexDateTimeFormatter`, which solves both tick marks and the x,y display.

I thought I'd post here in case it is useful to anyone else. I'm not sure if I know mplfinance well enough to know if it breaks other things or if it is worth creating a pull request.

https://github.com/mikessut/mplfinance/tree/dates_bynd_data

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

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

はじめの一歩

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

調査の方向性

リンクされた dates_bynd_data ブランチの IntegerIndexDateTimeFormatter の変更から始め、DataFrame より後の日付について欠落している目盛りと x,y 表示を再現します。既存のプロットと動作を比較し、その変更によって現在の範囲内の日付処理が維持されるか確認します。既存のフォーマットを壊さずに将来の日付を調べられれば完了です。

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

評価

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

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

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