text_plain_output_1.png image_output_1.png
from matplotlib.pyplot import figure

from matplotlib.pyplot import figure

from matplotlib.pyplot import figure

from matplotlib.pyplot import figure

from matplotlib.pyplot import figure

from matplotlib.pyplot import figure

from matplotlib.pyplot import figure

import matplotlib.pyplot as plt

import yfinance as yf

ticker = 'tsla'

tesla = yf.download(ticker)

from matplotlib.pyplot import figure

df = yf.download(ticker, start='2020-05-10', end='2021-05-10')

from matplotlib.pyplot import figure

df = yf.download(ticker, period='1d')
from matplotlib.pyplot import figure

df = yf.download(ticker, period='5d')
from matplotlib.pyplot import figure

df = yf.download(ticker, period='1mo')
from matplotlib.pyplot import figure

df = yf.download(ticker, period='6mo')
from matplotlib.pyplot import figure

df = yf.download(ticker, period='1y')
from matplotlib.pyplot import figure
figure(figsize=(15, 7), dpi=80)
plt.plot(df.Close)
plt.show()