text_html_output_1.png
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
figure(figsize=(15, 7), dpi=80)
plt.plot(tesla.Close)
plt.show()