Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added multi fill_between #519

Merged
merged 2 commits into from
May 10, 2022
Merged

Added multi fill_between #519

merged 2 commits into from
May 10, 2022

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