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

How can I set background color of plot? #274

Open
ppseverin opened this issue Oct 16, 2020 · 1 comment
Open

How can I set background color of plot? #274

ppseverin opened this issue Oct 16, 2020 · 1 comment
Labels
question Further information is requested

Comments

@ppseverin
Copy link

ppseverin commented Oct 16, 2020

Well, pretty much thats it. I was trying to find a key word for background color but did not found one. Anyone knows how this can be done? Also, how can I add a label/legend to different type of indicators (eg: sma(10) and sma(200))

@ppseverin ppseverin added the question Further information is requested label Oct 16, 2020
@DanielGoldfarb
Copy link
Collaborator

DanielGoldfarb commented Oct 16, 2020

There are two kwargs that can be used when calling mpf.make_mpf_style(). They are facecolor and figcolor.
Make sure you have read through the entire "styles" tutorial.

Regarding legends, see here and here.

I hope that helps. All the best. --Daniel

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