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

Line Gradients #223

Open
PowerrNuller opened this issue Jul 22, 2020 · 1 comment
Open

Line Gradients #223

PowerrNuller opened this issue Jul 22, 2020 · 1 comment
Labels
question Further information is requested

Comments

@PowerrNuller
Copy link

Hello,

Any existing methods to plot lines with a color gradient associated with them? Any ideas on how to accomplish that?

@PowerrNuller PowerrNuller added the question Further information is requested label Jul 22, 2020
@DanielGoldfarb
Copy link
Collaborator

Nothin built into mplfinance. You will have to do this using the underlying matplotlib methods that support gradients. Not sure what you are looking to do, but here is an example that may be what you are looking for: https://matplotlib.org/3.3.0/gallery/lines_bars_and_markers/multicolored_line.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants