matplotlib / matplotlib/mplfinance

Feature Request: Ability to overlay a candle chart over another (share axes)

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

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

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

説明

Thank you for your work on updating mplfinance!

Using the deprecated mpl-finance, I was able to put 2 candlestick_ohlc() charts on top of each other (overlaid, sharing the same axes), and a table below the chart, all within a single figure that could be saved.

Now, I can use returnfig=True to export the figure and axes, but not sure how to actually use those later. ax is not a valid kwarg in plot(), as it was in candlestick_ohlc(). And not sure how to draw the chart inside a parent figure. Should fig be a kwarg for plot()?

Thank you.

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

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

はじめの一歩

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

調査の方向性

まず現在の plot() と returnfig の動作を読み、その後、candlestick_ohlc() で ax を使用していた非推奨の方法と比較します。要求されたチャート下のテーブルを含め、親 Figure と共有 Axes をどのように渡すべきかを明確にします。保存可能な 1 つの Figure に 2 つのローソク足チャートを重ねられれば完了です。

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

評価

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

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

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