Commit 43a6cb1
committed
Added multi fill_between
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...)
]1 parent fe985a0 commit 43a6cb1
1 file changed
+21
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
716 | 719 | | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
722 | 732 | | |
723 | 733 | | |
724 | 734 | | |
| |||
0 commit comments