Added multi fill_between by jubapa · Pull Request #519 · matplotlib/mplfinance
Navigation Menu
- Notifications You must be signed in to change notification settings
- Fork 668
Conversation
Currently only one fill_between graph can be added to the plot.
This patch aims to add the possibility of having an array of possible
fill_between.
Example:
Currently the fill_between is as:
args = {}
args["fill_between"] = dict(y1=df[High],y2=df[Low],color=red...)
fig, axes = mpf.plot(.....,**args)
This patch also add the possibility of:
args = {}
args["fill_between"] = [
dict(y1=df1[High],y2=df1[Low],color=red...),
dict(y1=df2[High],y2=df2[Low],color=green...)
]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters