Matplotlib Tutorial (Part 10): Subplots

Поділитися
Вставка
  • Опубліковано 30 чер 2024
  • In this video, we will be learning how to use subplots in Matplotlib.
    This video is sponsored by Brilliant. Go to brilliant.org/cms to sign up for free. Be one of the first 200 people to sign up with this link and get 20% off your premium subscription.
    In this Python Programming video, we will be learning how to use subplots in Matplotlib. Subplots are used so that we can use Matplotlib in a more object-oriented manner. We will learn how to use subplots to plot data we have seen in previous videos, and then we will learn how to use subplots to create multiple plots on one or more figures. Let's get started...
    The code from this video (with added logging) can be found at:
    bit.ly/Matplotlib-10
    Unpacking Quick Tip - • 10 Python Tips and Tri...
    ✅ Support My Channel Through Patreon:
    / coreyms
    ✅ Become a Channel Member:
    / @coreyms
    ✅ One-Time Contribution Through PayPal:
    goo.gl/649HFY
    ✅ Cryptocurrency Donations:
    Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
    Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
    Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot
    ✅ Corey's Public Amazon Wishlist
    a.co/inIyro1
    ✅ Equipment I Use and Books I Recommend:
    www.amazon.com/shop/coreyschafer
    ▶️ You Can Find Me On:
    My Website - coreyms.com/
    My Second Channel - / coreymschafer
    Facebook - / coreymschafer
    Twitter - / coreymschafer
    Instagram - / coreymschafer
    #Python #Matplotlib

КОМЕНТАРІ • 281

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

    I hope everyone finds this video helpful. This is the last video in this series for the time being, but if you have any requests for topics that I have not yet covered then please leave a comment and I will try to add to this series in the future with popular requests.
    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

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

      😎😀 Awesome stuff, thank you!!! I think you said that you plan on doing more data science videos next? Either way, thanks for your videos. I just became a patron last week 👍🏽

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

      @@RTW590 Yes, I plan to now focus on putting a Pandas series together. It takes time to finish a complete series, so I'm not sure when this will be released yet, but I am working on it now. And thanks so much for becoming a patron! That helps a ton!

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

      What do you think about Mobile App (kivy) or neural network in python?
      If there will be any possibility in future, I'll be happy for that!

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

      Amazing series. I haven't gotten the time to complete it yet. I'm still going through that spectacular flask series of yours. But, when the time comes I know I'm gonna enjoy it.

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

      Dude. Soo good! Soo clean! These videos set a high standard for educational videos!

  • @ramonmassoni9657
    @ramonmassoni9657 4 роки тому +135

    Corey you are a world-class teacher. You're making my PhD so much easier man

  • @MK-yl7jl
    @MK-yl7jl 5 років тому +104

    Dude, you are just the best.
    Pandas would be great for the next tutorial, then if it's possible, machine learning after that.
    Thank you sooooo much.

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

      Yes, entirely agree (maybe machine learning if possible). Very nice videos (I've watched the whole matplotlib series) : clear, concise, and very nice !

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

    Just want to say you'r a great teacher bro. Thanks for time and effort .

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

    You did it again. Just like pandas, this is the best matplotlib tutorial I have come across on UA-cam. I don't even bother with other tutorials now, as long as you have covered it. Thanks a ton Corey.

  • @hankblack783
    @hankblack783 4 роки тому +19

    Best explanation of the subplots I've come across. Thanks so much!

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

    Thanks so much!
    My level in python has improved because of you. From flask, django, and this series now and many more of your videos that I've learned. Thanks a lot!
    I wish I could work with you in physical life for more knowledge.
    God bless you!

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

    I have been through quite a few python tutorials and courses but none of them is as simple, clear and comprehensive as this guy is!!

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

    This is the best tutorial on Matplotlib so far. Thank you, Corey!

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

    Hey man, just wanted to say thank you for this amazing series. I deeply value your efforts, as they made me a better coder and helped me to do my science. Wish you all of the very best. Cheers from Brazil.

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

    I just spent a whole week finishing this series. Thanks. You are the best

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

    I'm glad that I can continue my learning with your awesome tutorials. I've watched your django, pandas and this series! I can't wait to watch your other tutorials. Thank you for your great works 👍

  • @AJ-et3vf
    @AJ-et3vf 3 роки тому

    Awesome tutorial man! Very nice and lucid. I've been plotting for months usually with just pyplot object, but recently, after being intrigued enough by the "fig, ax" codes that I usually see, I decided to learn how to do it, plt.subplots, and I must say that it's been very fulfilling to learn that more advanced, concise, and organized way of plotting. It's actually way simpler than I first thought and it's a wonder how I was baffled by it in the past. Thank you very much for these.

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

    Take a week to finish this course. It's a brilliant series as usual. Thank you!
    btw, I checked the sponsored. 👍

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

    Hi Corey,
    I just finished your Matplotlib tutorial and it is just great! So comprehensive and understandable at the same time. You explain that so consequently, however it is not too long or boring on the other hand. I do have also a subscription on DataCamp, but it is absolutely not comparable to your tutorials. Thank you for your great job. As others already mentioned, to have such a tutorial for Pandas would be awesome.
    Thank you once more!

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

    I wish I found this weeks ago. Kudos to the effort producing such high quality content. Thank you sir!

  • @Simon-kc4ml
    @Simon-kc4ml 7 місяців тому +1

    Thanks a lot for this series, as a beginner I have been using chat gpt to get my plots done but that is time consuming and i can exactly get them done the way I want. This playlist was simple yet detailed and explained everything comprehensively. Thanks a lot Corey.

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

    Thanks for that series Corey! I learned so much!
    Also already done with the Pandas series.
    You're a great teacher!

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

    Great video, thank you! If you are on the fence about continuing this series, I think a video on time-series animations in 2D and 3D would be very informative (I'm coming from a physics background and currently using an ad hoc approach that isn't great).

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

    thanks so much for making it easy to follow along. these matplotlib videos certainly streamlined the learning process.

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

    What an amazing tutorial, you're awesome Corey. Appreciate for being so explicit in your explanations. Thank you so much!

  • @LAChinthaka
    @LAChinthaka 4 роки тому +13

    Thanks a lot, Corey for these wonderful lessons. Highly recommended.
    If you can do a SciPy series similar to matplotlib and pandas, it would be really helpful.

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

      I second this!!!

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

    Thanks a lot Corey for these tutorials, your content is one of the best on UA-cam.

  • @nohandle759
    @nohandle759 3 місяці тому

    This series was amazingly helpful. This is a huge help for my senior design project. Thank you so much.

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

    I have watch all videos of the series. very clear and to-the-point explanation. Thanks so much for making this. best of luck for you!

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

    Dear, I'm humbled and grateful. You are just the best.
    I've just finished all of the panda and the matplotlib tutorials.
    I wish I could support you but it's not possible from Iran :) ! I try to introduce to all the persons who may are interested in this subject and planing working with data.
    Thank you again *_*

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

    Another wonderful series! Your videos are excellent! Informative, well researched and extremely practical! Thank you so much!

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

    This guy is just the best, can't express how many times this guy has saved me.
    Much love from Nigeria.

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

    The uni course I'm taking involves using a lots of python, especially these scientific packages. Your videos and this series helped me a lot for a head-start. Thank you for that!

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

    This is great. Thanks for making. Would love to see a tutorial for graphing stock data with volume overlays, different metrics shown, technical analysis, etc. Hope to see more graphing videos in any case!

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

    Thank you so much for the tutorial! I was always confused about the fig, axis notion. It's clear now. Thank you!!!

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

    The way you explained is simply superb!!...Extraordinary...Thank you very much for this video.

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

    I just finished watching this series. Best explanation one could ever get on Matplotlib. Well also due to corona outbreak I am gonna utilize my whole time in the best possible way and that is by learning something new from you sir I am going to watch your next series on Django. Everyone, please stay at home, stay safe. Thank you so much, sir. Love and respect from India. 🧡🤍💚

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

    Love the channel and this series has helped me so much to develop my aquarium controller that I have been working on. Just need to sort out the live data from my SQLite3 database for temperature reading. Hope you continue with you great work in teaching so many of us how to code.

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

    This was a great series. Thank you very much for the clear guidance. I would love for you to add to this series, perhaps working with dates and times using real life data from an API (Similar to episode 9) or a series covering an entire basic data analysis project from start to finish.

  • @moawiahibrahim3241
    @moawiahibrahim3241 17 днів тому +1

    Excellent channel. Outstanding videos with clear explanations. Thanks.

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

    Great tutorial...I always enjoy the way your are communicating these topics!

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

    You are a great teacher Corey. Thank you for your time and effort.

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

    I struggled a lot finding the best place to start and finally I landed up on the best channel
    thanks a lot

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

    Thank You for everything You are doing. Interesting, clear and useful.

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

    I say this from the bottom of my heart....God will bless you in all your dealings. Thank you again for this flawless video

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

    thank you, bro, I have learned a lot and it was the best tutorial I have ever seen of matplotlib

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

    Great Job Corey, thanks to you for everything I know in programming .... big fan from Egypt

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

    Such a beautiful series of videos. Really thank you Corey.

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

    Great content man and indeed matplotlib is one of the finest library for data visualization although seaborn came beforr matplotlib still beacuse of more flexible nature matplotlib is always preferred first

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

      I'll be covering Seaborn, Bokeh, and some other plotting libraries in the future as well. Thanks for watching!

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

      Great videos they hace been really helpful in identifying unnecessary or dumb stuff I’ve been doing for a long time as well as teaching me a bunch of new stuff! Any chance you can make a series like this on Pandas in the future?

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

      @@Andresdha he even said that he will do that at the end of the video man

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

      @@coreyms Plotly would be greatly appreciated!

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

    Bless you man for all your contributions !

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

    Thank you, this series was fantastic!

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

    Thanks Corey, this and the Pandas series have been super helpful. An extension to this series for Seaborn would be awesome!!

  • @ghassanhammad855
    @ghassanhammad855 6 місяців тому

    Watched the whole series, thanks a lot fam

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

    wow!! Now that's the way to learn coding. The explanation is subtle and soft. Thanks a ton

  • @AmanChauhan-hy1sb
    @AmanChauhan-hy1sb 4 роки тому +1

    Thanks so much Corey! Really helpful series.

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

    Brief and very informative. Great.

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

    Thank you very much Corey Schafer Sir. Nice work and great efforts. And very good style of explaining the codes. so that even new learners can understand.

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

    thank you for making the series

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

    Learning subplots in python for the 1st time. Thank you for putting this together!

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

    Thanks!Your video series really helpful!

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

    Well done, many thanks for this tutorial!

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

    Thanks Corey!
    Doing this content for free is incredible!

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

    You're amazing! Thanks for these series :)

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

    thank you sir , you are the only one that explained it simply

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

    Thanks Corey for another awesome series. Now time to make some cool projects!

  • @aminehochlef715
    @aminehochlef715 3 дні тому

    Thanks Corey for this awesome tutorial!

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

    Thanks so much Corey. I've learnt so much from your guidance. You are a great teacher and a guiding light for thousands around the world.
    P.S. - My ears experience ecstasy when they hear "Now, if I run this...".😁😄

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

    Corey Schafer your channel is the best. hope watching you doing videos in pands and all the other libraries used in data sciene!

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

    Thank you so much for the time and effort you put. Much helpful, God bless you!

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

    This is exactly what I was looking for. Thank you!

  • @anarakberov7173
    @anarakberov7173 2 місяці тому +1

    You advertised brilliant more than brilliant itself 😁👍

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

    Thanks a lot to share the series it was fun and educative journey to follow so appreciated

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

    Fantastic video, sharing this on twitter right now! thanks!

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

    Very informative as always, thank you!

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

    This series was great for getting the basics right for matplotlib.
    Although I had 2 questions on subplots:
    1. Can one use the axes from the subplot and assign it as an axes to other subplot?
    2. Should one return figure or axes of subplot from a function if one wants to access/edit the plots again?
    I'd appreciate if you could answer these.

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

    Amazing content! Thank you so much!

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

    Thank you so much for this Tutorial, it's super clear and super concise. You made my day! :)

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

    Amazing tutorial. It helped me a lot. Thanks a lot for this tutorial series. Eagerly waiting for the Pandas series.

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

    Great series man... It was really helpful.I'm also interested in non-blocking code using OOP approach. I think it's a good and useful topic

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

    kudos mate - look forward to more excellent content from you Corey

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

    Nice one. Was looking for this kind of solution. Thank you. 😄

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

    Fantastic tutorial series!

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

    Brilliant series! Looking forward for the Pandas!

  • @user-ky6mb9dh9b
    @user-ky6mb9dh9b Рік тому

    Very clear and good lesson, thank you very much

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

    Fantastic Series on Matplotlib!!!!!!!!!

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

    Dude, you are awesome. I will make these videos in playlist named "matplotlib faq" 👍

  • @Nicole-se7zj
    @Nicole-se7zj 2 роки тому

    Fantastic explanation, thank you!

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

    thank you so much corey , you are a great teacher

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

    I love the tutorials, you do an amazing job. It would be cool to see a video showing how to embed a Matplotlib into a Django template. It would be great to see you add a plot to the blog site you built with Django to tie them together.

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

    Thank you Corey for Awesome Tutorial.

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

    Thanks for the great tutorial!. Seaborn would be a good option for the next step.

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

    Excellent explanation sir.. The best part is you try to explain the concept keeping in mind learner's point of view. I've seen some lessons where tutor changes the code and brings up the desired output but basic concept is not explained, so the learner gets stuck in similar /new situation. Thanks a lot for clearing the basics.

  • @rk-nb2gz
    @rk-nb2gz 5 років тому +1

    Hey Corey, I just want to say thanks so much for being an excellent teacher. I just finished your Matplotlib Tutorial and moved on to watch your Django tutorial. I have a big request - can you show how to use something like Cloudinary, or another file storage system, when deploying to Heroku? I deployed it, but since the file storage system is ephemeral, images will not save. There is some documentation, but as I'm quite new to all of this, I've found your explanations and walkthroughs extremely helpful. Thanks!

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

    Hey Corey, first off, hats off to you man, I've been learning python on my own and I've watched almost all of your videos. Very informative and clear. Thank you for your help to us learners. And also, I have a request, can you make a video about backend_tools in matplotlib, I want to create a button which i can use to stop the real-time plotting of data, I've been looking everywhere but I can't seem to find anything I can understand. Thank you and stay strong.

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

    Thank you so much for recording these videos!! These are incredible!!
    I have one request, could you please make tutorials on visualizing 3D plots using this matplotlib/seaborn package?

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

    Thaks Corey!
    I really like your videos!!

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

    This was amazing. Thank you!!!

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

    Very nice tutorials i learned a lot thanks for such great tutorials

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

    Thank you so much, I've learned so much from you

  • @angelhc4757
    @angelhc4757 4 дні тому +1

    Thank you so much for these videos :)

  • @sandeepsingh-sp7yn
    @sandeepsingh-sp7yn 4 роки тому

    Hi Corey, This matplotlib series is really helpful, I love your way of teaching. If possible can you make a video on Box and Whisker plot with some real world data including outlier. As always you are doing a great job... For every one of us.

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

    Could You Please Do A Video Tutorial On Using Python For A Time Series Forecast, To Estimate Future Sales.. Based On Past Data! Thank You For ALL Your Excellent Videos! 🙏🏽

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

    very nice and clean explanation

  • @farahnissa8018
    @farahnissa8018 6 місяців тому

    thank you! may the knowledge i got from here be a beneficial one