So I am getting stock market data using yahoo_finance python library and I am plotting the data with matplotlib.
I want to color the graph based on if the stock price went up or down. Is it possible to do this with matplotlib? If it goes up: green, if it goes down: red?