Matplotlib MegaTutorial Data visualization in Python











>> YOUR LINK HERE: ___ http://youtube.com/watch?v=axSTGczvYIE

Never miss a tutorial! Subscribe to the Project Data Science channel: https://bit.ly/3yTMdQV • Go from zero to hero with our Data Science Specialization: https://courses.projectdatascience.co.... • Or learn about all of data science in one blog post! https://www.projectdatascience.com/wh... • ... • Matplotlib is the foundational data visualization library for Python. It's used by many data scientists (myself included), and several other popular data visualization libraries like seaborn are built on top of Matplotlib. • In this tutorial, I'll show you the basic parts of a Matplotlib graph (this can be surprisingly confusing), I'll give you an easy formula for plotting, we'll go through some basic graphs, and then we'll dive into more details by looking at commonly asked questions. • (We'll also start off with how to create your data science coding environment using a conda virtual environment to install all of the necessary packages. Or, you can use Google Colab for free without setting anything up on your computer.) • Specifically, here's what we'll cover: • How to understand the different parts of a Matplotlib graph: the figure, the axes, the axis, etc. • How to plot basic graphs in Matplotlib: line plots, bar graphs, scatterplots, histograms, etc. • How to plot multiple graphs in the same chart (like a line plot and a bar graph together). • How to plot using different colors for different data. • How to add and alter text like titles and axis labels. • How to use subplots to show different graphs on different axes. • How to tweak and alter the graph in many of the commonly needed ways. • You learn best through doing—so grab your computer, and get ready to learn some data visualization in Matplotlib! • Happy learning! • --- • 00:00 Introduction • 03:14 Create a project directory and download the data • 07:50 Setup our Python environment using conda virtual environments (or Google Colab) • 14:32 Launch Jupyter notebooks and setup our notebook • 17:13 Parts of a Matplotlib figure • 35:13 Basic graphs in Matplotlib • 52:45 Plotting multiple graphs on the same axes • 01:12:54 Adding and altering text • 01:19:17 Using subplots in Matplotlib • 01:30:15 Common question in Matplotlib • 01:31:26 How do you change the figure size? • 01:33:19 How do you save an image to a file? • 01:35:48 How do you change the font size for titles, axis labels, and tick labels? • 01:41:55 What does fig.add_subplot(111) mean? • 01:50:30 How do you change the tick frequency on the x-axis? • 01:52:38 How do you set the y-axis limit? • 01:53:56 How do you remove ticks and tick labels? • 01:54:56 How do you turn off the axis? • 01:56:10 How do you rotate axis tick label text? • 01:57:31 How do you change scatterplot marker size? • 02:01:14 How do you change the size and color of scatterplot points? • 02:03:33 How do you plot using a logarithmic axis? • 02:06:31 How do you plot two histograms on the same graph? • 02:09:04 How do you plot horizontal and vertical lines? • 02:11:45 How do you display an image in Matplotlib? • 02:19:57 What colors can you use in Matplotlib? • 02:22:52 Further learning, wrap-up and thank you! • --- • Additional Project Data Science Resources: • https://projectdatascience.com/ (The official Project Data Science site!) •    • Pandas Mega-Tutorial - Learn one of P...   (Pandas Mega-Tutorial - everything you need to know when you're first learning pandas, one of the main Python libraries for data science) •    • Intro to Machine Learning with Python...   (Beginner's introduction to machine learning with Python.) •    • Beginner's Introduction to Neural Net...   (Beginner's introduction to neural networks in Python.) • --- • Additional Resources: • https://www.kaggle.com/ronitf/heart-d... (Heart disease data on Kaggle, originally from the UCI Machine Learning Repository.) • https://matplotlib.org/ (The official Matplotlib site.) • https://matplotlib.org/tutorials/inde... (Matplotlib tutorials—very helpful.) • https://matplotlib.org/gallery/index.... (Matplotlib examples.) • https://matplotlib.org/tutorials/intr... (The parts of a Matplotlib figure.) • https://matplotlib.org/3.1.0/api/ (The Matplotlib API reference—so much information! I check here often, especially to learn about all the ways I can alter a certain part of a graph, like rotating the text or changing the color of something.) • https://docs.conda.io/en/latest/minic... (Miniconda, my preferred way to install conda.) • https://towardsdatascience.com/import... (How to upload data to Google Colab, if you decide to use Colab.) • https://unsplash.com/photos/WAkS8Fx-WEs (Beautiful photo on Unsplash, for the part of the tutorial where we load images and display them in Matplotlib.)

#############################









Content Report
Youtor.org / YTube video Downloader © 2025

created by www.youtor.org