- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- 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 1162 Articles
Rishikesh Kumar Rishi
5K+ Views
To combine two heatmaps in seaborn, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create two Pandas data frames.Create a figure and a set of subplots, ax1 and ax2.Plot the rectangular data as a color-encoded matrix, on ax1 and ax2.Move ... Read More
Rishikesh Kumar Rishi
340 Views
To create a boxplot stratified by column in Python class, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create a Pandas data frame of two-dimensional, size-mutable, potentially heterogeneous tabular data.Compute the histogram of a set of data.Create a boxplot startified ... Read More
Rishikesh Kumar Rishi
1K+ Views
To plot aggregated by date pandas dataframe, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create a data frame, df, of two-dimensional, size-mutable, potentially heterogeneous tabular data.Get the values of aggregated by date pandas dataframe.Plot the df (Step 3) with ... Read More
Rishikesh Kumar Rishi
2K+ Views
To have the line color vary with the data index for a line graph in matplotlib, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create x and y data points using numpy.Get smaller limit, dydx.Get the points and segments data ... Read More
Rishikesh Kumar Rishi
609 Views
To format a float using matplotlib's LaTeX formatter, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create x and y data points using numpy.Plot the x and y data points using plot() method.Fill the area between the curve.Set the title ... Read More
Rishikesh Kumar Rishi
2K+ Views
To set local rcParams or rcParams for one figure in matplotlib, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Initialize a variable N to store the number of sample data.Create x and y data points using numpy.Return a context manager ... Read More
Rishikesh Kumar Rishi
5K+ Views
To plot a multivariate function in Python, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create random x, y and z data points using numpy.Create a figure and a set of subplots.Create a scatter plot with x, y and z ... Read More
Rishikesh Kumar Rishi
2K+ Views
To make a polygon radar (spider) chart in Python, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create a Pandas dataframe with sports and values columns.Create a new figure or activate an existing figure.Add an 'ax' to the figure as ... Read More
Rishikesh Kumar Rishi
5K+ Views
To add a legend in a 3D scatterplot with scatter() in matplotlib, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Initialize a variable N to store the number of sample data.Create x and y data points; make z1 and z2 ... Read More
Rishikesh Kumar Rishi
1K+ Views
To remove NaN values from a dataframe without filter or interpolate, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create an array to make a Pandas data frame.One-dimensional ndarray with axis labels (including time series).Plotting interpolation, 'index', 'values' − Use ... Read More