Instructor: Hi guys, and welcome back.
In this section we're going to learn about
creating graphs using MatPlotLib.
I just want to give you a quick overview
of the sort of things that we gonna be creating,
so you get a taster of what we'll be learning.
Do note though, that MatPlotLib is a little bit complicated,
so we're going to be learning a lot of the fundamentals
of MatPlotLib as we go through this section,
as well as creating all of these charts.
So we're gonna start with line charts.
This looks pretty simple, we've got here
a figure, a pair of axes, data points plotted,
but this is actually four lines of code.
So we're going to learn all about what those four lines do
and how we can get these graphs up on the screen.
We'll also learn how to produce multiple plots
in one figure, so that we can export
images that have multiple graphs in them,
or that we can potentially have different types of graph
in the same image.
We'll also learn about pie charts
and we'll create a set of pie charts for our polling data.
Here you can see the Flask vs. Django poll
that we created earlier on in the course,
we're going to create a graph for the options in that poll.
You can see that we've got labels in there,
we've got the percentages for each segment of the pie chart,
we're gonna learn how to separate different segments
from the centre, this is called Explosion,
as well as a bunch more stuff.
We'll learn about bar charts as well,
since they are one of the most popular types of chart.
We'll learn how to create simple charts like this one here,
where they have titles, labels in the axes,
they've got rotated labels at the bottom
so that they fit a bit more easily.
And we'll also learn how to create stacked bar charts here,
which may look similar, but there's a lot more
going on behind the scenes.
It's also got a legend at the top right corner,
which can be pretty handy as well.
This is by no means everything that we'll be learning
in this section, though.
We're going to learn how to configure charts,
how to change colours, how to change settings, sizes,
adjust how they fit within the window and much more.
We'll learn how to export images, including PNG images
that you can then put into websites or into PDFs.
We'll learn how to create complex figures
with multiple charts in them,
how to plot multiple datasets into one chart
if that's what you want to do.
And overall and the most important thing,
is we'll gain a fundamental understanding of MatPlotLib,
which is not so easy to get, so learning more later on
will be much easier.
So thank you guys for joining me in this section,
I hope that you will enjoy it.
Let me know if you have any questions about it
and I'll see you in the next video to get started.