Python 3 Programming Tutorial - Matplotlib Graphing Intro

preview_player
Показать описание
In this Python 3 basics video, we cover the intro of the Matplotlib module. Matplotlib is one of the most, if not the most, popular graphing modules for Python. Here we show how you get it, install it, and put up a basic plot example.

Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Рекомендации по теме
Комментарии
Автор

I have just started my PhD and your tutorials are helping me a lot. I seriously appreciate your efforts, in short you are Awesome :D

UsmanMalik
Автор

Great video! I will be watching the rest of your series!

I just wanted to offer some help for those having trouble installing matplotlib. Maybe somebody figured it out because its 2017 now anyways but I will go ahead and write out how I did it.

I currently run Python 3.6.1 and am using PyCharm. Within PyCharm itself, I went to preferences > project > project interpreter. From here, I make sure the interpreter is the latest version of Python I am using and below there is a list for installed packages and their version information. At the bottom of the list is a handy little "+" icon. The "+" icon brings you to a menu where you can search for an available package and install it. Luckily enough, matplotlib was in there! Not only that, but it also concurrently installs everything else that matplotlib needs!

oldaccountyeet
Автор

I installed all the extra's for matplotlib using pip34. Ive been able to work through all the tutorials now. Nice work. Keep it up.

Jenko
Автор

This is seriously such a help for data presentation in my dissertation, thank you so so much @sentdex

TheIcyHawk
Автор

Thank you so much for posting all of these videos! I am beginning to learn Python over the past 3 days and all you videos have really helped!

Elightning
Автор

Hey, wanted to remind you. The link is not in the description. But I'll see the link from the video. Thanks man

animeshmohan
Автор

If you guys don't feel like dealing with an executable installer, or using pip, you can find a lot of modules on github. All you have to do is download the folders, unzip them, then rename and place in your "Lib" folder

brandonmerrithew
Автор

now you get whl files.
To install .whl go to python34\scripts folder and type: pip3.4.exe [path to wheel file]
example: install

GPCTM
Автор

thanks for the great tutorial. i was curious if it is possible that once i plot a graph, can I use python to find coordinates of other points on the graph for analysis?

ridhwanulhaque
Автор

+sentdex please help, unable to import matplotlib after installing it..

atuljha
Автор

I need help, everything works fine when i enter the pyplot commands in the shell, but when i create a document in both atom or just idle, it doesn't work...

sambrismo
Автор

Hi sentdex,
I just wonder if you can increase your mic volume?? :)

buzmez
Автор

Thank you for all tutorial videos, they are fantastic.
I have a problem. I’m using anaconda/spyder. When I type “from matplotlib import pyplot as plt” as you do, I receive an error message like “PermissionError: [Errno 13] Permission denied:
Help me please, thank you.

adilemrebilgic
Автор

I was able to import matplotlib, did the commands, but got an error that my stat module didn't have an attribute S_ISBERG or something. After reinstalling matplotlib thrice, it suddenly hit me that I named the .py file from the statistics tutorial stat.py. Renaming it resolved the plot issue. Hope you don't make the same mistake as I did, cheers

luckyluuk
Автор

Hi! Thanks for your tutorials. I just downloaded Matplotlib for my brand new mac (10.10.3) to run on Python 2.7, which comes already installed with the Mac. However, when I try to open it, I get a message that says "There is no application set to open the document." I understand programming logic fairly well, but getting started is making my hair turn grey...

melimelo
Автор

A (n x m) grid with blinking randomly chosen cells changing colors.
anyone can help?

GPCTM
Автор

Any reason to only import a specific part. For instance why would we import just pyplot when we can import everything and also get pyplot.

Anthonyn
Автор

import matplotlib
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import matplotlib
File "C:\Users\brijj\AppData\Local\Programs\Python\Python36-32\matplotlib.py", line 1, in <module>
from matplotlib import pyplot as plt
ImportError: cannot import name 'pyplot'

bobros
Автор

Is there a way to enter a function, save it in a variable, and generate the graphic?
like...
4*x+(x**2)

davidmontano
Автор

amazing, but how to install these things on mac, there is no dmg file of matplotlib? or is there also a tutorial about that?

jiangjiang