

ticker.history : Gives data frame that we are going to use in creating the visual.yf.Ticker: Ticker method gives all the market data for the respective tickerSymbol.

tickerSymbol : Ticker Symbol is a name of the company by which is get listed in any stock exchange.st.lectbox(), let us customize the option within selectbox (i.e drop down menu).Setting up our homepage window of Streamlit app: Most of the Matplotlib utilities lies under the pyplot submodule, and are usually imported under the plt alias. Importing modules import yfinance as yf.Now we are good to start creating our first visual in Streamlit. Yfinance is a python package that enables us to fetch historical market data from Yahoo Finance API in a Pythonic way.

Label scatter plot matplotlib install#
Install streamlit, yfinance and matplotlib pacakges.Note: All commands are for Windows - command prompt. The main agenda of the article is to make you learn “How to embed Matplotlib visuals into Streamlit web app”. And, Streamlit is an amazing technology that turns data scripts into shareable web apps in minutes. Matplotlib is an amazing visualization library in Python.
