
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
4K+ Views
To plot categorical variables in Matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create a dictionary with some details.Extract the keys and values from the dictionary (Step 2).Create a figure and a set of subplots.Plot bar, scatter and plot ... Read More

Rishikesh Kumar Rishi
512 Views
To use fivethirtyeight stylesheet, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.To use fivethirtyeight, we can use plt.style.use() method.Create x data points using numpy.Create a figure and a set of subplots using subplots() method.Plot three curves using plot() method.Set ... Read More

Rishikesh Kumar Rishi
17K+ Views
To add a line to a scatter plot using Python's Matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Initialize a variable, n, for number of data points.Plot x and y data points using scatter() method.Plot a line using plot() ... Read More

Rishikesh Kumar Rishi
653 Views
To disable the keyboard shortcuts in Matplotlib, we can use remove('s') method.StepsSet the figure size and adjust the padding between and around the subplots.To disable the shortcut "s" to save the figure, use remove("s") method.Initialize a variable n for number of data points.Create x and y data points using numpyPlot ... Read More

Rishikesh Kumar Rishi
6K+ Views
To set the location of the minor ticks 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.Create a figure and a set of subplots.Plot x and y data points using plot() ... Read More

Rishikesh Kumar Rishi
2K+ Views
To label and change the scale of a Seaborn kdeplot's axes, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create random data points using numpy.Plot Kernel Density Estimate (KDE) using kdeplot() method.Set Y-axis tscale and label.To display the figure, use ... Read More

Rishikesh Kumar Rishi
813 Views
We can take the following steps to make a broken bar plot, Set the figure size and adjust the padding between and around the subplots.Create a figure and a set of subplots.Plot a horizontal sequence of rectangles.Set x and y axes scale, X-axis label, Y ticks and Y tick labels.Configure ... Read More

Rishikesh Kumar Rishi
3K+ Views
To update the plot title with Matplotlib using animation, 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 using figure() method.Create x and y data points using numpy.Get the current axis.Add text ... Read More

Rishikesh Kumar Rishi
3K+ Views
To color the edges by weight in networkx, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Initialize a graph with edges, name, or graph attributes.Add nodes to the current graph.Add edges to the current graph's nodes.Iterate the given graph's edges ... Read More

Rishikesh Kumar Rishi
3K+ Views
To animate quivers in Python, 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.Create u and v data points using numpy.Create a figure and a set of subplots.Plot a 2D field of arrows ... Read More