- 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 make a quiver plot in polar coordinates using Matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create radii, thetas, theta and r data points using numpy.Create a new figure or activate an existing figure.Add an 'ax' to the ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
542 Views
To decrease the hatch density in Matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Make a customized horizontal hatch class to override the density.Append the horizontal hatch class.Create a new figure or activate an existing figure.Add an 'ax1' to ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
4K+ Views
To give matplotlib imshow() plot colorbars a label, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create 5×5 data points using Numpy.Use imshow() method to display the data as an image, i.e., on a 2D regular raster.Create a colorbar for ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
246 Views
To set a title above each marker which represents the same label in Matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create x data points using Numpy.Create four curves, c1, c2, c3 and c4 using plot() method.Place a legend ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
1K+ Views
To change the color and add grid lines to a Python surface plot, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create x, y and h data points using numpy.Create a new figure or activate an existing figure.Get 3D axes ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
129 Views
To find the matplotlib style name, we can take the following steps −import matplotlib.pyplot as pltprint(plt.style.library)Exampleimport matplotlib.pyplot as plt print(plt.style.library)Output{'bmh': RcParams({'axes.edgecolor': '#bcbcbc', 'axes.facecolor': '#eeeeee', 'axes.grid': True, 'axes.labelsize': 'large', 'axes.prop_cycle': cycler('color', ['#348ABD', '#A60628', '#7A68A6', '#467821', '#D55E00', '#CC79A7', '#56B4E9', '#009E73', ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
3K+ Views
To get an interactive plot of a pyplot when using PyCharm, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Set the background style.Plot the data on the axes.To display the figure, use show() method.Exampleimport matplotlib as mpl import matplotlib.pyplot as ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
8K+ Views
To increase the spacing between subplots with subplot2grid, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Add a grid layout to place subplots within a figure.Update the subplot parameters of the grid.Add a subplot to the current figure.To display the ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
3K+ Views
To get multiple overlapping plots with independent scaling 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.Plot a list of data points using plot() method on a seperate Y-axis and overlapping ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
2K+ Views
To display a sequence of images using Matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Make a list of images that have to be drawn.Turn off the axes.Iterate the images and redraw over the axes.Take a pause after each ... Read More