Matplotlib Tutorial (Part 1): Creating and Customizing Our First Plots

Поділитися
Вставка
  • Опубліковано 20 сер 2024

КОМЕНТАРІ • 576

  • @coreyms
    @coreyms  5 років тому +291

    I hope everyone finds this video helpful. The next video of the series will be posted tomorrow at the same time. The next video will cover how to create bar charts, and also how to load in data from a CSV file. We'll learn how to load in data using both the standard library and pandas, so be sure to check that out.
    I'd like to thank Brilliant for sponsoring this series. If you'd like to check them out then you can sign up with this link and get 20% off your premium subscription:
    brilliant.org/cms

    • @mr.chinaski2613
      @mr.chinaski2613 5 років тому +1

      Love your series, few months ago started to use pandas/metplotlib and now I'll use it on xlsx files that I converted to CSV, glad u'll upload a video for this :)

    • @BergenVestHK
      @BergenVestHK 5 років тому

      Oh wow, this is perfect! I haven't had the time to check these out until now, but now I see I have ten wonderful videos in front of me. And matplotlib is such a great and useful topic too. And I had no idea about the xkcd style! Haha! Awesome!
      Your channel is a gold mine! Thank you so much, Corey! Keep up the excellent work!

    • @fullyautistic4760
      @fullyautistic4760 5 років тому

      Corey, namaste!

    • @ikhairi83
      @ikhairi83 5 років тому

      all your videos are very helpful. thanks my man

    • @Sgoose105
      @Sgoose105 4 роки тому

      @michal marciniak python Filename

  • @kobas8361
    @kobas8361 5 років тому +348

    Oh my God, Corey! Cant express how glad I am to see you started doing video's on data science!

    • @ItzSenaCrazy
      @ItzSenaCrazy 5 років тому

      Ye!!! ME TOO
      Thank you

    • @kobas8361
      @kobas8361 5 років тому +3

      @Somnath Roy You still have to make a living after retire ;)

    • @jackfrost8969
      @jackfrost8969 4 роки тому +2

      @@kobas8361 not when you are multimillionaire already!

    • @doggo660
      @doggo660 4 роки тому +16

      RIP :(

    • @ajayadhikari582
      @ajayadhikari582 3 роки тому

      what we have to do when we are using jupyter notebook

  • @gardnmi
    @gardnmi 5 років тому +83

    I've always hacked together my matplotlib charts. Glad there is now a tutorial from the best teacher on the youtubes.

  • @nickt423
    @nickt423 3 роки тому +21

    I feel like I'm constantly pausing the video and googling to find an easier way to do things. When I come back and hit play, Corey explains that exact same thing I just looked up. Corey is a master at teaching!

  • @hemanthkotagiri8865
    @hemanthkotagiri8865 5 років тому +71

    The amount of hard work Corey is putting forth for python series is godlike. Thank you, teacher. I respect you!

  • @karimkohel3240
    @karimkohel3240 5 років тому +15

    i never even considered watching a video about data science, let alone want to learn it. you have a great capability of influencing people by simply talking about things you like and this is a great gift. please don't ever stop making videos

    • @manan-543
      @manan-543 11 місяців тому +1

      u should. it makes a lot of money

  • @borgestheborg
    @borgestheborg 5 років тому +5

    The best programming teacher on UA-cam, bar none, making Data Science tutorials? This is simply amazing!

  • @alkarani01
    @alkarani01 2 роки тому +14

    Your way of coding is so clean and less confusing as compared to others. Thank you!

  • @VishalSharma-rn7mt
    @VishalSharma-rn7mt 4 роки тому +7

    You are legend, the way you explain the concepts is unbelievable, even paid courses instructor will fail against you.

  • @DANNYEL20122
    @DANNYEL20122 Рік тому +1

    I just want to say "Thank you so much".. People like you make the world a better place

  • @TM-bn8pv
    @TM-bn8pv 5 років тому +8

    Thank you so much, Corey! You probably have no idea how many dream careers you've made with all these videos.
    Programming is complex enough by itself, but for beginners to advanced, it is hard to find the first truly educational material that'll slowly and methodically help you take your first meaningful steps to their dream or advancement in their career.
    You've truly done it! This is the kind of stuff that'll help people and the world who learned from your videos.
    Keep it up!

    • @TM-bn8pv
      @TM-bn8pv 5 років тому +1

      Also, if you have time and know...I wanted to ask if you could point me in a direction of a resource(es) for my 9 year old nephew, who is a really smart kid and wants to learn programming? Like what and where to start, sort of how you have provided me the, at last, the best resource to start with.
      We've tried different sites and what not, and he gets through some but then runs into a roadblock.
      His dream is to be a video game designer. He spends mist of his time after homework and in the summer outside drawing up, and live roleplaying his video, then will do a "youtube video" as the game developer talking about it like you'd see at E3.

    • @coreyms
      @coreyms  5 років тому +2

      Hey there. That's a great question, but unfortunately I don't know many resources for teaching children. I would love to put together a series on that topic myself. I have a 9-year-old niece and would love for her to learn as well. Wish I could provide some resources but I don't know any off the top of my head. If you ever find any good ones then please send them my way.

    • @TM-bn8pv
      @TM-bn8pv 5 років тому +1

      @@coreyms Thanks for responding! I truly appreciate it.
      We've tried some kids coding apps and similar stuff but he outgrows it too fast. Hopefully I can find something for him to do while not outside this summer.
      Unrelated to programming, If your niece is into stories, writing stories, and would like to get into video editing to make those stories, there's a pretty cool website called Zimmer Twins. Easy enough for that age range to write and create story videos, with these "Zimmer Twins" cartoon characters as the "actors." Free version without editing ability, and for either $3.99 or $4.99/month you can edit them and share them within the ZT website for other kids to view, rate, and comment on. She can be like her uncle :-)
      I'll let you know if I come across or research further something that might be worth a look for kids programming courses.

  • @EdwardRLyons
    @EdwardRLyons 5 років тому +10

    I have completed this series of ten videos over the course of two days. It is an outstanding learning resource, and I can recommend it highly to anyone looking to learn the basics of Matplotlib.
    I have learned more from these ten videos than in the past month or more from a couple of books I have purchased, and other videos I've tried on UA-cam. The style of presentation and the structured sequence, building from one video to the next, are of the highest quality. Completed over a weekend as I have done makes them at least as effective as attending an intensive one- or two-day training course. Perfect for anyone needing to scale the initial steep learning curve of using Matplotlib within Python.
    And so, on to Pandas ...

  • @alexandertsiolkovski5848
    @alexandertsiolkovski5848 4 роки тому +144

    Things I learnt from this tutorial:
    1. Learn Python. It pays more.
    2. Matplotlib has cool themes.
    3. Matplotlib.

    • @lekanadenusi462
      @lekanadenusi462 3 роки тому +5

      Cool themes, yeah! I love the xkcd

    • @parsai3990
      @parsai3990 5 місяців тому

      This comment isn't very helpful

  • @stephenpeterwandera9176
    @stephenpeterwandera9176 4 роки тому +5

    Corey Shafer, you have the best youtube tutorials for coding I've ever come across. You've transformed me!

  • @joshuabharathi706
    @joshuabharathi706 3 роки тому +2

    corey you are literally the only youtuber am happy to see getting and running sponsor segments. Your work is super valuable man, keep going!

  • @andresvodopivec5950
    @andresvodopivec5950 4 роки тому +24

    Corey, Thank you so much for helping out the community. Thanks to you I was able to start coding and got very good at it. I decided to support you. I am just a student and sorry I cannot contribute what you really deserve for all the effort you put on your videos. I am very grateful and wish you the best.

    • @coreyms
      @coreyms  4 роки тому +2

      Thanks so much!

    • @arghyadas2836
      @arghyadas2836 Місяць тому

      What do you study? Like yourself, I too am a student.

  • @daniel_narh
    @daniel_narh 4 роки тому +4

    Ohh Goodness, Corey you are the best, I consumed a paid data science course and trust me I have learn more in this tutorial than I did there. Will support your channel as soon as I land a job. Bless you

  • @Ak-ash-jr5vn
    @Ak-ash-jr5vn 3 роки тому +2

    Really, really the best ever teacher for programming- I guarantee.

  • @johanknelsen4443
    @johanknelsen4443 5 років тому +7

    Hi Corey, this is great information. I've spent the past 2.5 years learning these techniques to help me with looking at data in the automotive industry. This plus some additional information allows me to walk into a facility and with in a couple of hours have a very good understanding of what is going on and focus my skills in the highest priority area.

  • @languagejourney3519
    @languagejourney3519 8 місяців тому

    I have very little knowledge of python so this is the first python video that has actually taught me how to do something. Even better, it didn’t start with a “hello world”, thank you! Clear, concise, and right to the point

  • @segunbabatunde1669
    @segunbabatunde1669 5 років тому +26

    Thank u sir for your efforts in sharing this on Matplotlip. The best ever that I have seen on Matplotlip on UA-cam.I will glad if you can help with Machine Learning Series. God bless you sir!

  • @ramvpage
    @ramvpage 5 років тому +3

    Excellent Tutorial On Intro To Matplotlib. Corey Schafer Is The Most Lucid & Efficient Teacher On Python. Thank You !

  • @jackmoody
    @jackmoody 5 років тому +54

    The `plt.xkcd()` trick was cool! Thanks for sharing.

  • @overclockinggames2419
    @overclockinggames2419 5 років тому +2

    Saved your python playlist . Man you are the best teacher ever . Thank God

  • @smoothbeak
    @smoothbeak 3 роки тому +9

    The plot thickens...

  • @adeshinaibrahim9641
    @adeshinaibrahim9641 Рік тому +1

    @corey! this is just the 8th video i have watched on your channel, but you truly left me in tears out of love for you. You made me realize what and how important teaching is. I have never come across a soul that explains ambiguous terms better than you. Thanks so much bro. I love you!!!

  • @arnopisspot5115
    @arnopisspot5115 5 років тому +4

    Great to hear you have a sponsor for these videos. Any advertiser should be very proud of having its name alongside such a high quality, and value-rich channel. Keep up the great content. Now I know about Brilliant and most importantly, that they must take stuff seriously if they decided to choose your channel.

  • @736939
    @736939 5 років тому +4

    Finally Finally Finally!!!!! Start from Matplotlib, Pandas and then Scikit-Learn !!!!! Thank you Corey, you're the best!

  • @mehulaggarwal7776
    @mehulaggarwal7776 4 роки тому +3

    U probably have the best stats on UA-cam. 1.8k likes with only 8 dislikes. Too good man. Your tutorials are dam helpful 👍

  • @aryanmishra5591
    @aryanmishra5591 4 роки тому +2

    Come on guys only 5.3k likes for a phenomenal video like this.
    These are rookie numbers. Pump those up.

  • @greatbahram
    @greatbahram 5 років тому +4

    I am big fan of Corey videos, he always tries to teach with simple methods and also covering all materials that are important.
    Some people may find matplotlib a bit hard to learn, I am sure you remove this barrier.
    Well done Corey

  • @emils-j.3586
    @emils-j.3586 5 років тому +1

    Just love your stuff, Corey. Was doing a course on a popular site, that was just going a tad too fast in the MatPlotLib-section, and suddenly my brain went: "Wait a minute... didn't Corey...?"
    And you did! And so I'm here.
    Stay awesome.

  • @viciwo3396
    @viciwo3396 Рік тому

    3yrs later, this is still the best tutorial I've seen on this subject. Better than my paid course.

  • @fernandes1431
    @fernandes1431 4 роки тому +1

    I'm starting my thesis and my tutor just said we need to use python that's it no other help. It's daunting as one can imagine as I don't even know how to use python. I've just come across this video and I am so much more relieved now that I can do this. I'm actually enjoying it to my surprise 🤓 thank you!!

    • @coreyms
      @coreyms  4 роки тому +1

      Good luck with your thesis!

  • @MOOBBreezy
    @MOOBBreezy 5 років тому +14

    THANK YOU FOR MAKING THIS. Matplotlib was the one thing I struggled with in my python class. I'm also peer-teaching said class and this will help me out a lot

  • @productvisibilitytvshoppin1107
    @productvisibilitytvshoppin1107 4 роки тому +4

    one of the best tutorials, easy, well explained and just a breath of fresh air.

  • @nowyouknow2249
    @nowyouknow2249 5 років тому +5

    Corey Shafer = Python Ambassador
    Python is indeed versatile.
    Thanks for the tutorial and I can't wait for tomorrow's upload. 👍

  • @satyammishra4675
    @satyammishra4675 5 років тому +19

    you are the most helpful person corey. thank you for your support and knowledge you are sharing with us. you are helping lot of student including me with good content.

  • @nmb2Bryant
    @nmb2Bryant 3 роки тому

    You sir are the ultimate proof that knowledge should be free and accessible to anyone wishing to access it! Thank You from the bottom of my heart and keep up the tremendous work!
    Greetings from Luxembourg !!!!

  • @ayush9psycho
    @ayush9psycho 3 роки тому

    I am from mechanical background n just starting to learn python.These r the best tutorials i found on graphing through python.Thank very much!!

  • @martincregg
    @martincregg 4 роки тому +1

    Oh my! I have watched or read close to 10 other tutorials about Matplotlib and this is far and away the best one. So easy to understand. Your step by step approach is excellent and much appreciated... New subscriber!

  • @XX-ej7vo
    @XX-ej7vo 5 років тому +1

    oh,you are my favorite teacher online,very very grateful for your videos

  • @axeyohole4133
    @axeyohole4133 5 років тому +2

    Now THIS is the perfect combination tutorial.

  • @amanrastogi1232
    @amanrastogi1232 5 років тому +3

    Ahan! Finally you are back. Your content delivery is awesome. Thanks alot for such worthy tutorials :)

  • @harshman11
    @harshman11 5 років тому +4

    Finally, it has come. I've been waiting for it for some time.

  • @Bushviking
    @Bushviking 5 років тому +8

    *runs into trouble with matplotlib* *wonders if Corey has a vid about this* *... and ofcourse he does* :-) Great work, thanks for all the work you put in!

  • @khaleedkhaleed3300
    @khaleedkhaleed3300 5 років тому +1

    Somebody give this man a medal.

  • @ajinzrathod
    @ajinzrathod 3 роки тому

    Not only your videos, but your voice is aslo too satisfying.

  • @anweshsarkar5617
    @anweshsarkar5617 3 роки тому +1

    Thank you Corey for these great videos. They are of great help for me as I am a beginner.
    For those using Jupyter Notebook, please write -
    %matplotlib qt
    to get the separate window for navigation of the plot.

  • @itsmitasha
    @itsmitasha 8 місяців тому

    What an awesome video! I just completed Data Camp "intermediate python" where topic one scratches the surface of matplotlib. This tutorial "Matplotlib Tutorial (Part 1): Creating and Customizing Our First Plots" was an excellent follow on. I am also appreciative that you have also shared the code snippets so that I could follow along, thanks Corey!!

  • @economicriskcapitalmodelpr9849
    @economicriskcapitalmodelpr9849 4 роки тому

    Hi all,I am here to share my learning experience of this channel. this is the best online /YT channel to learning about programming. I would like to request Corey sir to create courses on Machine learning and Deep learning in the future.The way you break down each and every pieces of code snippets that they leave lasting impact on mind and help in working confidently with a new problem statement. Thanks a lot!

  • @delllatitude299
    @delllatitude299 5 років тому +19

    always glad to hear your voice.

  • @BethanyLowe8773
    @BethanyLowe8773 3 роки тому

    Nice!! Clear and intuitive, and you didn't waste any viewer time. Very aesthetic and progressive way of updating the code. I thought 35 mins would feel long but I was gripped! Will be coming back for more. Thanks from a beginner.

  • @Brian-wy2od
    @Brian-wy2od 5 років тому +2

    I was waiting this series of matplotlib tutorial. Thanks!!

  • @SHONNER
    @SHONNER 5 років тому +1

    I love Matplotlib. Been using it for years. Still learning about all the things it can do. I use it for 3D plotting the most.

  • @DexLocK_DeViL
    @DexLocK_DeViL 2 роки тому +1

    brother , i really loved your style to teach , i have gone through many other playlist but they were hella confusing and dont know what they did, but yours is the best i have founddd 😍😍😍😍😍😍

  • @_icrop_
    @_icrop_ 8 місяців тому

    I have came across alot of tutorials on matplot but this is one is the best. Thanks alot Corey👍

  • @YEM_
    @YEM_ 5 років тому +8

    Very helpful. I would love to see a series on Pandas. There are a few out there on UA-cam, but your tutorials rule all!

  • @erfannariman
    @erfannariman 5 років тому +41

    Corey Schafer video? First a like, then watching

  • @mrchatterjee_
    @mrchatterjee_ 5 років тому +10

    Top notch content! Keep this series coming 😀✌️

  • @johnk9621
    @johnk9621 3 роки тому

    There are no words to thank you for that series!

  • @da_ta
    @da_ta 5 років тому +1

    Matplotlib ALL-IN-ONE thank you for doing this!

  • @abhisheksahu616
    @abhisheksahu616 5 років тому +2

    I have been checking your page for this series every alternate day! Thank you.

  • @jameskoh3463
    @jameskoh3463 4 роки тому +1

    Can't express how much your videos meant for me! Thank you and keep it up!

  • @shivrankrishen
    @shivrankrishen 3 роки тому

    Not all heroes wear capes. Thank You very much for making this series.

  • @bisratgetachew8373
    @bisratgetachew8373 2 роки тому +1

    Great video. I do not know if there is anyone better at teaching programming than you. This was a wonderful introduction to matplotlib. Thanks!

  • @coolman35
    @coolman35 3 роки тому

    Corey, you are awesome. This is the best Matplotlib video I have watched. The storylines are clear and organised. It is a A+ quality. Thumbs up for you.

  • @dimaua1830
    @dimaua1830 3 роки тому +1

    Hi Corey, wanted to say thank you for your tutorials. Just finished your pandas tutorials. Matplotlib and django are next. Haven't met anyone who is better than you in teaching coding.

  • @rushas
    @rushas 5 років тому +3

    Awesome video! Very good explained with the right pace and right amount of detail. I just found out about this channel and can't wait to see other contents aswell.

  • @0568raju
    @0568raju 5 років тому +1

    Thank you so much for starting matplotlib. Please continue this visualisation journey and add ggplot as well

  • @harshsheth912
    @harshsheth912 4 роки тому

    Thank you Corey for providing this type of content for free and I really liked especially the last command.

  • @StevenTse
    @StevenTse 5 років тому +1

    great, matplotlib series finally release, cheer!!

  • @akira_asahi
    @akira_asahi Рік тому

    I like how you always try to write more readable and intuitive code.

  • @jamesriri9874
    @jamesriri9874 4 роки тому +1

    This is such a powerful skill and perfect video to set a pace in MATPLOTLIB . Thank you Corey.

  • @anupacharya1367
    @anupacharya1367 4 роки тому

    The way you present is simply brilliant . Thank you for making such amazing videos. Love your work mate!!!

  • @lmmartinez97
    @lmmartinez97 4 роки тому +1

    So far I find the syntax almost identical to matlab plotting commands, but with this language and this environment, it is much easier and conceptually better to treat each plot as a stance from a class than it is in matlab. Thanks!

  • @azadmidia6173
    @azadmidia6173 5 років тому +1

    The best teacher on youtube

  • @ViralKiller
    @ViralKiller 4 роки тому +44

    Please, tutorial on web scrape, a variable that changes every 1 minute...need chart to update...All I see is old data imports from spreadsheet

  • @osamashawky622
    @osamashawky622 4 роки тому

    Man, you just awesome, your short video is better than watching 10 other videos

  • @PhilippHusiA
    @PhilippHusiA 5 років тому +5

    Great video. Learnt so much in such a short time

  • @johnbright2668
    @johnbright2668 5 років тому +4

    Excellent job, brother. Clear, precise, to the point and easy to follow. On m way over to Brilliant.org/cms right now. See ya in the next video

  • @oscar.kiamba
    @oscar.kiamba Рік тому

    This video is a perfect one. It explains matplotlib in an easier way to grasp.
    Thank you, sir.
    Good job.

  • @yanivgardi9028
    @yanivgardi9028 3 роки тому

    One of the best videos in this subject I've seen. Brilliant and so well explained! thanks Corey!

  • @thebuggser2752
    @thebuggser2752 9 місяців тому

    Another great video. Perfect for anyone considering Matplotlib.

  • @bipinlamichhane8371
    @bipinlamichhane8371 4 роки тому

    can't put into words how good you are. Thanks a ton Corey. You are the best !!

  • @mokera3801
    @mokera3801 5 років тому +3

    Hi Corey, thank you so much for all these amazing tutorials. Truly you are making the world better place.
    Can you please make a machine learning series?

  • @fredyarcegonzalez2689
    @fredyarcegonzalez2689 4 роки тому

    Oh wow! I've been searching for something like these. This is above my expectations

  • @hannukoistinen5329
    @hannukoistinen5329 2 роки тому

    You are just showing how good you are. Nothing else.

  • @abdelrahmanali4550
    @abdelrahmanali4550 3 роки тому

    Thanks Corey for the series, I have just started, and finished the first video, and absolutely in love with your way of teaching and I hope that I'll repay you with anything once I get a job. Hopefully soon XD

  • @shalinpradhan
    @shalinpradhan 3 роки тому

    Excellent series on Matplotlib Tutorial. It was very helpful for me, as a beginner, to understand the objects of Matplotlib. Thanks for this entire series.

  • @christophewillaert5750
    @christophewillaert5750 4 роки тому +2

    Thank you Corey, very good tutorial. Run fines on Jupyterlab...
    %matplotlib qt -> show plot in seperate window, like your tutorial
    #%matplotlib inline -> show embedded plot

  • @msctube45
    @msctube45 4 роки тому +1

    Excellent video Corey!

  • @ilikenuts
    @ilikenuts 5 років тому +2

    I was in a middle to analyze some data, but I paused as soon as I see a new tutorial form Corey.

  • @finnmccool8671
    @finnmccool8671 5 років тому +2

    I checked out brilliant.org and signed up. Well worth it! I didn't realise how dumb I am :-)

    • @Max-lr6dk
      @Max-lr6dk 4 роки тому

      and now still worth it you think ?

    • @finnmccool8671
      @finnmccool8671 4 роки тому

      @@Max-lr6dk My ideas of myself are now closer to my capabilities.

    • @Max-lr6dk
      @Max-lr6dk 4 роки тому

      @@finnmccool8671 Doppler effect clean. But you don't learn anything on it ?

  • @blog.pymastery
    @blog.pymastery 5 років тому +1

    We're welcoming you back very long time!

  • @nonalcoho
    @nonalcoho 4 роки тому

    You made learning becomes funny than ever

  • @DoYouHaveAName1
    @DoYouHaveAName1 Рік тому

    Thank you, nice to have all the basic information in one video. Very helpful!

  • @Jungelkongen
    @Jungelkongen 2 місяці тому

    17:30 It's a little more code, but makes all the difference when learning how and why you do what you do.

  • @farazahmed1668
    @farazahmed1668 3 роки тому +1

    I just love to listen the introduction he cover in 10 seconds.

  • @hoodlum-jm2kd3du1u
    @hoodlum-jm2kd3du1u 3 роки тому

    thanks man. i like how straight to the point your videos are.