Posts from Python

Add labels to a pie chart in Python matplotlib

By Aadhithya R

In this tutorial, we are going to see how to add labels to a pie chart. First of all, let us about what a pie chart is. In matplotlib pie() function is used to plot the pie chart. .... Read More

How to remove digits from end of a string in Python

By Sumit Chhirush

Hello programmers, in this tutorial, we will learn how to remove digits from the end of a string in Python. We can do this using the rstrip([chars]) method. rstrip([char]) rstrip .... Read More

How to delete a subplot in Matplotlib Python

By Aadhithya R

In this tutorial, we are going to see how to delete a subplot in matplotlib – Python. Firstly, let us see what a matplotlib package is. It is a plotting library in Python whi.... Read More

Python Program to Sort an array of String according frequency

By Abinash Reddy

In this post, we will learn how to sort a Python array according to the frequency of each string. For example, let’s consider an array Input arr = ['Monday', 'Tuesday', 'Wedn.... Read More

Copy surface in Pygame Python

By Karshin Uppal

In this tutorial, we will learn how to copy surfaces in Python using the Pygame library. Surfaces play an important role in pygame because when creating a game the first thing any .... Read More

Python numpy.histogram() method with example

By Sadhu Meghana

In this tutorial, we will learn how to use the histogram function of NumPy library in Python. A histogram is a graphical representation of a dataset by splitting it into equal-size.... Read More

Scale image to fit screen in Pygame Python

By Karshin Uppal

Here in this tutorial, we will learn how to make an image fit the size of your pygame screen. Pygame is a widely used library in Python; Which is used for making games this in turn.... Read More

Visualize the Different Color Channels of an RGB Image in Python using OpenCV

By Gaurav Jagwani

In this tutorial, we will learn to visualize different color channels of an RGB Image using OpenCV in Python. RGB (Red, Green, and Blue) model is the standard color model used in i.... Read More

Related Posts