Matplotlib Tutorial (Part 4): Stack Plots

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • In this video, we will be learning how to create stack plots 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 create stack plots in Matplotlib. Sometimes these are called Area Charts. These are similar to pie charts, but instead of showing us the proportions at a single instant, these allow us to see the proportions over a series of points. Let's get started...
    The code from this video (with added logging) can be found at:
    bit.ly/Matplotl...
    ✅ 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...
    ▶️ You Can Find Me On:
    My Website - coreyms.com/
    My Second Channel - / coreymschafer
    Facebook - / coreymschafer
    Twitter - / coreymschafer
    Instagram - / coreymschafer
    #Python #Matplotlib

Комментарии • 78

  • @coreyms
    @coreyms  5 лет назад +37

    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 filling areas on line plots. We'll cover basic fills and also how to conditionally fill different regions based on certain thresholds.
    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

    • @mallusreddy
      @mallusreddy 5 лет назад

      It's very useful video... Tomorrow ist time series?

  • @mahamanoumar1802
    @mahamanoumar1802 4 года назад +11

    Corey Schafer is an amazing teacher. thanks for helping millions of people. You have already given your contribution to humanity.

  • @TopBagon
    @TopBagon 4 года назад +17

    Here are all of the locations for legend (according to documentation):
    'best'
    'upper right'
    'upper left'
    'lower left'
    'lower right'
    'right'
    'center left'
    'center right'
    'lower center'
    'upper center'
    'center'
    *Thanks a lot Corey for those amazing tutorials*

  • @anikhatri
    @anikhatri 5 лет назад +40

    Great series, please do one for pandas too.

  • @toubisalaheddine6432
    @toubisalaheddine6432 5 лет назад +4

    I admit it , you make great lessons and awesome series for python , keep it up Mr Corey (y)

  • @thetechrealms7824
    @thetechrealms7824 5 лет назад +5

    Great vid Corey, keep it up bro

  • @Pulsar77
    @Pulsar77 5 лет назад +2

    I hope you plan to make videos on how to customize plots. Setting size & aspect ratio, multiple axes, fonts, subplots,...
    Making a plot look the way you want can be a frustrating endeavor.

  • @Sharmapawan98
    @Sharmapawan98 5 лет назад +4

    Amazing video series sir, absolutely loved it. One little question , Are you planning to extend your django video series with django rest framework in the near future?

    • @coreyms
      @coreyms  5 лет назад +4

      I will add to it in the future, yes, but I’m not sure when exactly that will be. I’m going to complete a couple of data science series first and then perhaps get back to web

    • @Sharmapawan98
      @Sharmapawan98 5 лет назад

      @@coreyms Oh , Thanks a lot for the information!

  • @Schmidt3k
    @Schmidt3k 4 года назад +14

    Hey Corey,
    At 5:55, you copy multiple rows and paste each in order as arguments. How did you do that?

    • @abail7010
      @abail7010 4 года назад

      I'm curious as well!

    • @mrchejov4993
      @mrchejov4993 4 года назад +16

      Alt + click, this will give you multiple cursors, then only the copies and paste in the same order.

    • @codingwithflavio8534
      @codingwithflavio8534 2 года назад +1

      @@mrchejov4993 WTF thats so cool!
      thanks, will now be using it daily.
      you changed my programming life

    • @mrchejov4993
      @mrchejov4993 2 года назад

      @@codingwithflavio8534 with the keyboard it's ctrl + alt + up/down ✨

    • @JeyadarshiniRaja2020
      @JeyadarshiniRaja2020 Год назад

      @@mrchejov4993 Thanks for the tip man, it works!!!

  • @ZaherSarieddine
    @ZaherSarieddine 2 года назад +1

    When we reach your videos we stop looking for better ones

  • @TopicalAuthority
    @TopicalAuthority 4 года назад +1

    Thank you!

  • @josepharenas8905
    @josepharenas8905 5 лет назад +4

    Great content Corey!
    How about creating a video about how Python handles variable / memory management?
    I think only you can teach it properly!

    • @plumPB
      @plumPB 5 лет назад

      Maybe how variabile are passed to function too! Which types by value and which others by address

    • @silverzero9524
      @silverzero9524 4 года назад

      @@plumPB +1

  • @khaled-dz8357
    @khaled-dz8357 11 дней назад

    great corey as usual

  • @CristiNeagu
    @CristiNeagu 5 лет назад

    Really great series so far. Wish i had this when i was (hopelessly) trying to figure out matplotlib. But i do hope you will extend this series past matplotlib, at least to seaborn. Or, even better, to holoviews.

  • @devnofimdomundo
    @devnofimdomundo 4 года назад +3

    Please enable subtitles. I am Brazilian and I have a little difficulty understanding everything in English.

  • @angelhc4757
    @angelhc4757 2 месяца назад

    i love this library :)

  • @naserrostamnia3503
    @naserrostamnia3503 4 года назад +1

    Thank you sir.

  • @trexturbo9651
    @trexturbo9651 4 года назад +1

    Bro please make a video on Machine Learning algorithms .

  • @muhammadarslankahloon7519
    @muhammadarslankahloon7519 3 года назад

    amazing series. its help me a lot Thanks corey schafer

  • @rubayetalam8759
    @rubayetalam8759 3 года назад +1

    can you make a series in sickit learn, pytorch, tensorflow.

  • @MonkeyD.3892
    @MonkeyD.3892 2 месяца назад

    Thank You

  • @NeelSandellISAWESOME
    @NeelSandellISAWESOME 4 года назад +1

    How do you copy and paste that quickly in VS Code? What is the keyboard shortcut?

  • @darshakkumarranpariya867
    @darshakkumarranpariya867 5 лет назад +2

    Great content ever.....

  • @E_Crypto
    @E_Crypto 4 года назад +5

    Perfect Score: 699 Likes and 0 Dislikes
    Let's go number 700!!! 👍

  • @muhammadarslankahloon7519
    @muhammadarslankahloon7519 3 года назад +1

    hi,
    how you select three players one by one and paste them one by one at the same time?
    kindly tell me how you did it please?

  • @Coney_island23
    @Coney_island23 2 года назад

    thank you!!

  • @kamausamuel9172
    @kamausamuel9172 3 года назад

    11:08 It's 0.07 from the bottom and 0.05 from the y-axis

  • @sourabhsharma9569
    @sourabhsharma9569 4 года назад

    sir you r genius

  • @abhinav9561
    @abhinav9561 3 года назад

    Thanks man!!

  • @malaik9
    @malaik9 3 месяца назад

    Hi Corey,how are you asking multiple entries at the same time. My paste adds everything all at once

  • @mariak7377
    @mariak7377 3 месяца назад

    I'm also wondering about how you did this copy paste of several items??😮

  • @thanipattavan
    @thanipattavan 3 года назад +1

    Can anybody tell why lables are not showing even after we mention labels in the command

  • @SoftwareEngineering226
    @SoftwareEngineering226 Год назад

    Data which you have used is not in the description

  • @ironpolux
    @ironpolux 2 года назад

    In this case the list were in order, I figured out how to order them but I am yet to find a way to order the labels too, how can we do this?

  • @chenliang4942
    @chenliang4942 5 лет назад

    That's awesome

  • @srikarmadhavapeddy9881
    @srikarmadhavapeddy9881 4 года назад

    Hey Corey,
    How do I work with plots when the lists have different lengths & dimensions???

  • @rofy34
    @rofy34 3 года назад

    hy corey, can you apply auto generated subtitle in this video, iam not english native speak so auto generated subtitle is helping me a lot, thanks 😁

  • @sourabhsharma9569
    @sourabhsharma9569 4 года назад

    sir i want to learn from plz tell me how ... is there any app or any class

  • @omkarsawant6783
    @omkarsawant6783 4 года назад

    Can we add grid inside stackplot

  • @AbuchiEzeani
    @AbuchiEzeani 2 года назад

    Which IDE are you using for coding Corey Schafer

  • @nickt423
    @nickt423 3 года назад

    If your legend is blending into the color of the plot, then in your legend add this... frameon=True

  • @mostafaelnady7827
    @mostafaelnady7827 5 лет назад

    woooooooooooooow nice work bro you are the best, but sorry how you can copy multiple items and put them in a certain place

  • @TheDavidyisus
    @TheDavidyisus 3 года назад

    How can I do that vertically?
    I have x1 and x2, and one Y

  • @oluwaseunsorinola7039
    @oluwaseunsorinola7039 Год назад

    Please start python DSA on RUclips.

  • @mokera3801
    @mokera3801 5 лет назад

    Can you make a video on how to make subplots please ?
    Thanks

    • @coreyms
      @coreyms  5 лет назад +3

      Yes, that’s the 10th video of the series. It will be released in a few days

    • @mokera3801
      @mokera3801 5 лет назад

      Corey Schafer thanks

  • @devinediamonds4910
    @devinediamonds4910 3 года назад

    hey, thanks, can you help me? please tell me how to smoothen this stack plot, I need curves.

  • @aissamaissam5618
    @aissamaissam5618 4 года назад

    How to put latex forms in Xtick label? (Matlab 2014b)
    Thanks 😊

  • @CessTenn
    @CessTenn 3 года назад

    How can I make a 100% stacked bar chart in matplotlib?

  • @smellypunks
    @smellypunks 4 года назад

    Seaborn please.

  • @camilomartinezcampos9574
    @camilomartinezcampos9574 4 года назад

    I have this error: stackplot() got multiple values for argument 'x'. I´m using jupyter lab, anyone knows what's the problem?

  • @afatsumOFMONEY
    @afatsumOFMONEY 3 года назад

    How does he copy and paste like that man!

  • @BlackHeart-AI
    @BlackHeart-AI Год назад

    Please Can you add subtitles in this video 🙏

  • @Pavankalyan_Yadav_Panga
    @Pavankalyan_Yadav_Panga 5 лет назад

    Did you created any paid courses

    • @coreyms
      @coreyms  5 лет назад +3

      No, all of my content is available for free here on RUclips.

    • @Pavankalyan_Yadav_Panga
      @Pavankalyan_Yadav_Panga 5 лет назад +1

      @@coreyms can you please make series on machine learning..
      If you are free.
      Thanks for your response..

  • @alissonnascimento9353
    @alissonnascimento9353 4 года назад

    I just ask for this video get the legends, cause i don't speak english, so its a little bit hard for me to understand everything is said on the videos from this serie that have not legends

  • @SleepyAizawa69
    @SleepyAizawa69 8 месяцев назад

    Noice

  • @HollyJollyTolly
    @HollyJollyTolly 5 лет назад

    Second like

  • @lilredbb2182
    @lilredbb2182 5 лет назад

    !

  • @cocoococooc5415
    @cocoococooc5415 3 года назад

    >3

  • @jianxue283
    @jianxue283 Год назад

    Why does this lesson have no subtitles in it?😂