
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
478 Views
To make frames around the tiles in a Seaborn heatmap, we can use linewidths and linecolor values in the heatmap() method.StepsSet the figure size and adjust the padding between and around the subplots.Create a Pandas data frame with 5 columns.Use heatmap() method to plot rectangular data as a color-encoded matrix.To ... Read More

Rishikesh Kumar Rishi
1K+ Views
To create a heatmap in Python that ranges from green to red, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Make a dictionary for different colors.Create a colormap from linear mapping segments using LinearSegmentedColormap.Create a figure and a set of ... Read More

Rishikesh Kumar Rishi
435 Views
To get all the bars in a Matplotlib chart, we can use the bar() method and return the bars.−StepsSet the figure size and adjust the padding between and around the subplots.Create a figure and a set of subplots.Create x and y data points using subplots() method.Make a bar plot and ... Read More

Rishikesh Kumar Rishi
2K+ Views
To remove a frame without removing the axes tick labels from a Matplotlib figure, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create a list of y data points.Plot the y data points using plot() methodTo remove the left-right-top and ... Read More

Rishikesh Kumar Rishi
2K+ Views
To get a reverse-order cumulative histogram in Matplotlib, we can use cumulative = -1 in the hist() method.Set the figure size and adjust the padding between and around the subplots.Make a list of data points.Plot a histogram with data and cumulative = -1.To display the figure, use show() method.Examplefrom matplotlib ... Read More

Rishikesh Kumar Rishi
2K+ Views
To use an update function to animate a NetworkX graph in Matplotlib, 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.Initialize a graph with edges, name, and graph attributes.Add ... Read More

Rishikesh Kumar Rishi
3K+ Views
To plot a pcolor colorbar in a different subplot in Matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create a figure and a set of subplots wuth two rows and two columns.Make a list of colormaps.Iterate the axes and ... Read More

Rishikesh Kumar Rishi
4K+ Views
To plot a smooth 2D color plot for z = f(x, y) 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.Get z data points using f(x, y).Display the data as an ... Read More

Rishikesh Kumar Rishi
1K+ Views
To display two sympy plots as one Matplotlib plot, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Transform strings into instances of :class:'Symbol' class.Plot a function of a single variable as a curve.Use the extend method to add all the ... Read More

Rishikesh Kumar Rishi
3K+ Views
To plot an area in a Pandas dataframe in Matplotlib Python, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create a Pandas dataframe, i.e., a two-dimensional, size-mutable, potentially heterogeneous tabular data.Return the area between the graph plots.To display the figure, ... Read More