Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Why Use Matplotlib? | Matplotlib Introduction
Ultimate Visualization with Python
course content

Conteúdo do Curso

Ultimate Visualization with Python

Ultimate Visualization with Python

1. Matplotlib Introduction
2. Creating Commonly Used Plots
3. Plots Customization
4. More Statistical Plots
5. Plotting with Seaborn

bookWhy Use Matplotlib?

First of all, what is Matplotlib?

Matplotlib is one of the most used libraries in Python used for data visualization. Despite being comprehensive by allowing the creation of all kinds of static, animated, and interactive visualizations, it is actually quite easy to use. On top of that, matplotlib is open source, which is indeed great.

We believe that starting learning visualization in Python with matplotlib is the best option, since most of the other visualization libraries in Python are built on top of it.

Before diving into matplotlib let's have a look at an example of the plot created with its help:

Looks pretty neat, doesn't it? What if I tell you that this plot can be created with just a few lines of code?  Moreover, we can even go as far as making it interactive. That's the power of matplotlib

Now without further ado let's go to our first task in this course. The majority of matplotlib utilities are located within the pyplot submodule, hence we will use it further in the course.

Tarefa

There are two possible ways to import it, the first one is more common, while the second one  is more appropriate according to PEP.

Your task is the following:

  1. Import the pyplot submodule from the matplotlib library with the plt alias without using the from keyword.
  2. Import the pyplot submodule from the matplotlib library with the plt alias using the from keyword.

Once you've completed this task, click the button below the code to check your solution.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
toggle bottom row

bookWhy Use Matplotlib?

First of all, what is Matplotlib?

Matplotlib is one of the most used libraries in Python used for data visualization. Despite being comprehensive by allowing the creation of all kinds of static, animated, and interactive visualizations, it is actually quite easy to use. On top of that, matplotlib is open source, which is indeed great.

We believe that starting learning visualization in Python with matplotlib is the best option, since most of the other visualization libraries in Python are built on top of it.

Before diving into matplotlib let's have a look at an example of the plot created with its help:

Looks pretty neat, doesn't it? What if I tell you that this plot can be created with just a few lines of code?  Moreover, we can even go as far as making it interactive. That's the power of matplotlib

Now without further ado let's go to our first task in this course. The majority of matplotlib utilities are located within the pyplot submodule, hence we will use it further in the course.

Tarefa

There are two possible ways to import it, the first one is more common, while the second one  is more appropriate according to PEP.

Your task is the following:

  1. Import the pyplot submodule from the matplotlib library with the plt alias without using the from keyword.
  2. Import the pyplot submodule from the matplotlib library with the plt alias using the from keyword.

Once you've completed this task, click the button below the code to check your solution.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
toggle bottom row

bookWhy Use Matplotlib?

First of all, what is Matplotlib?

Matplotlib is one of the most used libraries in Python used for data visualization. Despite being comprehensive by allowing the creation of all kinds of static, animated, and interactive visualizations, it is actually quite easy to use. On top of that, matplotlib is open source, which is indeed great.

We believe that starting learning visualization in Python with matplotlib is the best option, since most of the other visualization libraries in Python are built on top of it.

Before diving into matplotlib let's have a look at an example of the plot created with its help:

Looks pretty neat, doesn't it? What if I tell you that this plot can be created with just a few lines of code?  Moreover, we can even go as far as making it interactive. That's the power of matplotlib

Now without further ado let's go to our first task in this course. The majority of matplotlib utilities are located within the pyplot submodule, hence we will use it further in the course.

Tarefa

There are two possible ways to import it, the first one is more common, while the second one  is more appropriate according to PEP.

Your task is the following:

  1. Import the pyplot submodule from the matplotlib library with the plt alias without using the from keyword.
  2. Import the pyplot submodule from the matplotlib library with the plt alias using the from keyword.

Once you've completed this task, click the button below the code to check your solution.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

First of all, what is Matplotlib?

Matplotlib is one of the most used libraries in Python used for data visualization. Despite being comprehensive by allowing the creation of all kinds of static, animated, and interactive visualizations, it is actually quite easy to use. On top of that, matplotlib is open source, which is indeed great.

We believe that starting learning visualization in Python with matplotlib is the best option, since most of the other visualization libraries in Python are built on top of it.

Before diving into matplotlib let's have a look at an example of the plot created with its help:

Looks pretty neat, doesn't it? What if I tell you that this plot can be created with just a few lines of code?  Moreover, we can even go as far as making it interactive. That's the power of matplotlib

Now without further ado let's go to our first task in this course. The majority of matplotlib utilities are located within the pyplot submodule, hence we will use it further in the course.

Tarefa

There are two possible ways to import it, the first one is more common, while the second one  is more appropriate according to PEP.

Your task is the following:

  1. Import the pyplot submodule from the matplotlib library with the plt alias without using the from keyword.
  2. Import the pyplot submodule from the matplotlib library with the plt alias using the from keyword.

Once you've completed this task, click the button below the code to check your solution.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 1. Capítulo 2
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
some-alt