Introduction to Line Plot Graphs with matplotlib Python

preview_player
Показать описание
#linegraph #matplotlib #python
Learn how to use matplotlib with examples of line plots
Please SUBSCRIBE:
Download the notebook used here and see other tutorials:

Matplotlib is the primary library for generating graphs in Python. Most other graphing libraries are wrappers around matplotlib. The matplotlib library is not part of the standard Python library, but it is installed automatically when you install a scientific Python platform such as Anaconda.
Data visualization is one of the key ingredients of data science or data analysis
Рекомендации по теме
Комментарии
Автор

This perfect. Short and sweet. Thanks for taking the time to make this.

danielchacreton
Автор

Just got what I was looking for. Thanks for explaining it perfectly!

faisalali.
Автор

Perfect introduction!! Just what i needed. Thank you!

lucho
Автор

Your explanation is very clear. You are a great teacher! Thank you so much ^^

lausatomi
Автор

This is so good, short and easy to understand, 🤟

keiserious
Автор

Hi Matt. Thanks for this useful video!

Could you tell me how to eliminate the gaps on the left and right hand side of the graph? I want my lines in the graph to start from the tip of the y-axis (whatever their intercept) and end where the graph restricts on the right. Thanks

sarthak
Автор

It saved my day🤗
I can't thank you enough🥺

movyacreates
Автор

This is nice and simple but informative

herbrabe
Автор

very helpfull for my end semester task, terimakasih sir!

rahmatsigit
Автор

I didn't get the answer I needed but this was excellent and I learned a lot of new things - thanks

AlanGregorySEO
Автор

Hey, great tutorial. I'm a newbie and I'm trying an extra step but I'm not finding anything on it. Let's say I have the same example as you with two stocks, but instead of showing absolute values, I want to show their variation as percentages (starting from 0). Any easy way to do that with the library or should I convert everything to fit my needs?

tuxcella
Автор

Great! how can I put the lasts values (for the two stocks) in the grafic? thanks!

julioferreira
Автор

# Yahoo Finance data download method has changed.
# pip install yfinance
# After installing yfinance

import pandas as pd
import yfinance as yf
import matplotlib.pyplot as plt

start_date='2019-01-01'
end_date='2023-01-06'
data = yf.download('AAPL', start_date, end_date)
# data.head()

# plt.plot(data['Close'])
plt.plot(data.Close)

# Anyway, it was helpful. Thank you.

hoqjxuf
Автор

good video but I had a question; Amazon and Google have similar trading prices (in the 1000's) what if I am comparing Amazon to Twitter (trades at 30-40) is there a way to change the y axis so it's in more respective terms or in % change per day?

bishopwashington
Автор

Hi, Matt. Thank you for posting this. As you may know, this was made before Yahoo discontinued their access to stock data. Could you please make a video explaining how we can use the above graphing information if we pick up the data manually by downloading a CSV file from Yahoo, with the high, low and close, then importing it into Python? And how about a high, low, close graph for a stock? How do we create that? Great job, however.

gilltim
Автор

Hi,
if my data is coming from a csv or an excel file and I need to show/copy these plotted graphs in the same csv/excel, is there a way to do it

electronikmale
Автор

Hi Matt awesome videos. I'm trying to use python to plot support and resistance lines on an alpaca paper trading account. Have you done a video on this? thanks!

paulatkins
Автор

Could you tell me how I can ask it to plot from a certain date to another? Btw thanks for the great video

margaretgonzalez
Автор

On that line graph, how can we use logo at the end of this line. Suppose if we want to use Facebook and Twitter logo, small size or even how can make a circle and write"FB" or Twitter like this at the end of each multiple line.

UniverseGames
Автор

nice flow of explanation, can you show me how to swap the axes ?

sridhardubasi