
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Rishikesh Kumar Rishi has Published 1156 Articles

Rishikesh Kumar Rishi
842 Views
To male bar plots automatically cycle across different colors, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Set automatic cycler for different colors.Make a Pandas dataframe to plot the bars.Use plot() method with kind="bar" to plot the bars.To display the ... Read More

Rishikesh Kumar Rishi
921 Views
To change the line color in seaborn linear regression jointplot, we can use joint_kws in jointplot() method.StepsSet the figure size and adjust the padding between and around the subplots.Create x and y data points using numpy to make a Pandas dataframe.Use jointplot() method with joint_kws in the arguments.To display the ... Read More

Rishikesh Kumar Rishi
626 Views
To control the width of bars in matplotlib with per-month data, we can take the following steps −Set the figure size and adjust the padding between and around the subplotsMake a list of dates, x and y, using numpy.Plot the bar with x and y data points, with per-month data.To ... Read More

Rishikesh Kumar Rishi
3K+ Views
To make animated sine curve, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create a new figure or activate an existing figure.Add an axes to the current figure and make it the current axes.Plot a line with empty lists.To initialize ... Read More

Rishikesh Kumar Rishi
4K+ Views
To plot a histogram with multiple legend entries, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create random data using numpyPlot a histogram using hist() method.Make a list of colors to color the face of each patch.Iterate the patches and ... Read More

Rishikesh Kumar Rishi
587 Views
To plot perspective and orthographic projection plots, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create a new figure or activate an existing figure.Add an '~.axes.Axes' to the figure as part of a subplot arrangement.Set the projection type as 'perspective' ... Read More

Rishikesh Kumar Rishi
4K+ Views
To create a Matplotlib bar chart with a threshold line, we have to use axhline() method.StepsSet the figure size and adjust the padding between and around the subplots.Initialize a variable, threshold.Make lists for bars values.Get the below and above bar values based on the threshold value.Create a figure and a ... Read More

Rishikesh Kumar Rishi
2K+ Views
To plot a remote image from an http URL, we can use io.imread() method to read an URL and take the following steps −Set the figure size and adjust the padding between and around the subplots.Load an image from an http URLUse imshow() method to display data as an image, ... Read More

Rishikesh Kumar Rishi
9K+ Views
To add text inside a plot in Matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create x and y data points using numpy.Place text with some text properties.Plot x and y using plot() method.Turn off the axes.To display the ... Read More

Rishikesh Kumar Rishi
445 Views
To place X-axis grid over a spectrogram in Python, we can use grid() method and take the following steps −Set the figure size and adjust the padding between and around the subplots.Create t, s1, s2, nse, x, NEFT and Fs data points using numpy.Create a new figure or activate an ... Read More