- Trending Categories
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](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
12K+ Views
To show points coordinate in a plot in Python, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Initilize a variable N and create x and y data points using numpy.Zip the x and y data points; iterate them and place ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
588 Views
To inset sharex and sharey from two axes in matplotlib, we can use 'none', i.e., False or 'none'. Each subplot X- or Y-axis will be independent.StepsSet the figure size and adjust the padding between and around the subplots.Initialize two variables rows and cols.Create a figure and a set of subplots.Iterate ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
274 Views
To obtain 3D colored surface via Python, 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 3D data, i.e., z.Create a new figure or activate an existing figure.Get the 3D axes.Create a surface ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
3K+ Views
To set the xticklabels for date in matplotlib, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create two lists of epochs and values.Get a list of dates from epochs.Create a figure and a set of subplots.Plot the date and values ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
19K+ Views
To scatter a 2D numpy array in matplotlib, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create random data of 100×3 dimension.Use the scatter() method to plot 2D numpy array, i.e., data.To display the figure, use show() method.Exampleimport numpy as ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
2K+ Views
To avoid overlapping error bars in matplotlib, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create a list of names.Get the data points for y1 and y2, and errors ye1, ye2.Create a figure and a set of subplots.Create a mutable ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
257 Views
To remove the Y-axis from a Pylab-generated picture, we can get the current axis of the plot and use the set_visible(False) method.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.Get ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
548 Views
To flush all current figures in matplotlib, use close('all') method.StepsSet the figure size and adjust the padding between and around the subplots.Create a figure with the title "First Figure".Create another figure with the title "Second Figure".To close all figures, use close('all').To display the figure, use show() method.Examplefrom matplotlib import pyplot ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
482 Views
To create multiple series scatter plots with connected points using seaborn, 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.Multi-plot grid for plotting conditional relationships.Apply a plotting function to ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
346 Views
To make a histogram with bins of equal area in matplotlib, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create random data points using numpy.Plot a histogram with equal_area method that makes an equal area of the patches.To display the ... Read More