Movatterモバイル変換


[0]ホーム

URL:


Python Matplotlib

Python Plotting With Matplotlib

A picture is worth a thousand words, and with Python’smatplotlib library, it fortunately takes far less than a thousand words of code to create a production-quality graphic.

However,matplotlib is also a massive library, and getting a plot to look just right is often achieved through trial and error. Using one-liners to generate basic plots inmatplotlib is relatively simple, but skillfully commanding the remaining 98% of the library can be daunting.

In thisbeginner-friendly course, you’ll learn about plotting in Python withmatplotlib by looking at the theory and following along with practical examples. While learning by example can be tremendously insightful, it helps to have even just a surface-level understanding of the library’s inner workings and layout as well.

By the end of this course, you’ll:

  • Know the differences between PyLab and Pyplot
  • Grasp the key concepts in the design ofmatplotlib
  • Understandplt.subplots()
  • Visualize arrays withmatplotlib
  • Plot by combiningpandas andmatplotlib

This course assumes you know a tiny bit of NumPy. You’ll mainly use thenumpy.random module to generate “toy” data, drawing samples from different statistical distributions. If you don’t already havematplotlib installed, see thedocumentation for a walkthrough before proceeding.

What’s Included:

Related Learning Paths:

Start Now

Python Plotting With Matplotlib

14 Lessons 1h 14m

  1. 1. Python Plotting With Matplotlib (Overview)03:01
  2. 2. NumPy Review (Optional)07:57
  3. 3. Pyplot and PyLab03:52
  4. 4. Object Hierarchy02:00
  5. 5. Stateful vs Stateless Approach05:37
  6. 6. Your First Plot09:25
  7. 7. Working With Multiple Subplots11:09
  8. 8. Advanced Plotting08:03
  9. 9. The Figures Behind the Scenes02:56
  10. 10. Creating a Colored Matrix06:57
  11. 11. Plotting With Pandas07:36
  12. 12. Configuring Styles02:46
  13. 13. Interactive Mode01:29
  14. 14. Python Plotting With Matplotlib (Summary)01:27
Start Now

AboutAustin Cepalia

Austin is a video tutorial author at Real Python. He graduated with a BS in CS from Rochester Institute of Technology in 2023, and now he writes software to support the semiconductor industry.

» More about Austin

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Related Courses:

Participant Comments

Avatar image for Glenn Lehman

Glenn Lehman

Great learning experience!

I appreciated the advise to type out all the code. This allowed me to modify some of the items and see how this changed the output. Plus my typing skills allowed me to practice some basic debugging.

Thank you.

← Browse All Courses


[8]ページ先頭

©2009-2025 Movatter.jp