- 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
2K+ 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](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
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](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
2K+ 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
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
1K+ Views
To make markers on lines smaller in Matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create random data points, x.Plot x data points using plot() method, with linewidth =0.5 and color="black".To display the figure, use show() method.Examplefrom matplotlib import ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
953 Views
To adjust the heights of individual subplots in Matplotlib in Python, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Add a subplot to the current figure, nrows=7, ncols=2 and at index=1.Add a subplot to the current figure, nrows=2, ncols=2 and ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
98 Views
To make matplotlib.pyplot stop forcing the style of markers, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create random x and y data points using numpy.Plot x and y data points using plot() method, with "r*" marker with markersize=10.To display ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
10K+ Views
To set the limits on a colorbar of a countour 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.Get the data using x and y.Get the coordinate matrices from the ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
92 Views
To make xtick labels of a plot be simple drawings using Matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Initialize the y position of simple drawings.Create a new figure or activate an existing figure using figure() method.Add an '~.axes.Axes' ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
414 Views
To indicate the statistically significant difference in bar graph, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create means, std, index, width and labels data points.Create a figure and a set of subplots using subplots() method.Make a bar plot using ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
1K+ Views
To show node name in graphs using 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 multiple nodes using add_nodes_from() method.Add all the edges using add_edge_from() method.Draw the graph G with ... Read More