Skip to content

Conversation

jubapa
Copy link
Contributor

@jubapa jubapa commented Mar 30, 2022

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...)
]

jbadiapa and others added 2 commits March 30, 2022 11:06
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...)
]
@DanielGoldfarb DanielGoldfarb merged commit eee081c into matplotlib:master May 10, 2022
@DanielGoldfarb DanielGoldfarb added enhancement New feature or request merged / awaiting release to pypi code merged into repo, but not yet released to Pypi released code merged into repo AND released to Pypi and removed merged / awaiting release to pypi code merged into repo, but not yet released to Pypi labels May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released code merged into repo AND released to Pypi
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants