 Posts by Sachin Rastogi

Author Biographical Info: Not available

#### Draw an arrow using matplotlib in Python

By Sachin Rastogi

In this article, we are going to learn how to draw an arrow inside the plot using matplotlib in Python. An arrow is drawn in the plot to show the specific part of the graph or plot.... Read More

#### Matplotlib scatter plot in Python

By Sachin Rastogi

In this article, we will learn about the scattering of plot in matplotlib using Python. Scattering of the plot means that the point doesn’t lie on a line rather than it will .... Read More

#### Contourf plot in matplotlib using Python

By Sachin Rastogi

In this article, we will learn about the concept of the contourf plot in matplotlib using Python. contourf function uses the current colormaps to fill the spaces between the leve.... Read More

#### Matplotlib Legend

By Sachin Rastogi

In this article, we will learn about the concept of legend() method in matplotlib using Python. A legend can be placed anywhere inside the list or outside the list by a different.... Read More

#### How to check if a number is a perfect square in Python

By Sachin Rastogi

Let’s learn how to check if a number is a perfect square number in Python. Here we need to use Math module of python to check the number. Check if a number is a perfect squa.... Read More

#### Annotation of plot using matplotlib in Python

By Sachin Rastogi

In this tutorial, we will learn the annotation of a plot using matplotlib in Python. We will see how to add labels and titles using matplotlib. Annotation:–  The word anno.... Read More

#### How to Fill area with color in matplotlib with Python

By Sachin Rastogi

In this article, we are going to learn how to fill the area of any figure with color in matplotlib using Python. For this, we need some basic concept of two popular modules of Pyth.... Read More

#### How to draw shapes in matplotlib with Python

By Sachin Rastogi

In this article, we are going to learn how to draw different types of basic shapes like Lines, Rectangle, Square, Circle, Triangle in matplotlib using Python. For this, we need som.... Read More