- 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 slice an image into Red, Green and Blue channels with misc.imread, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Read an image from a file into an array.Make lists of colormaps and titles.Create a figure and a set of ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
272 Views
To pixelate a square image to 256 big pixels with Python, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Open and identify the given image file.Resize the image samples.Make resultant images and resize them.Save the resultant figure.Examplefrom PIL import Image ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
681 Views
To maximize plt.show() using Python on Mac, we can use full_screen_toggle().StepsSet the figure size and adjust the padding between and around the subplots.Add a subplot to the current figure.Make a piechart with input list.Get the Figure Manager of the current figure.Use full_screen_toggle() to create a full-screen pop-up window.To display the ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
2K+ Views
To animate a Seaborn heatmap or correlation matrix, 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.Make a dimension tuple.Make a Seaborn heatmap.Create an init() method for the first heatmap.Use FuncAnimation() class ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
1K+ Views
To turn off transparency in Matplotlib's 3D scatter plot, we can use depthshade to shade the scatter markers to give the appearance of depth.StepsSet the figure size and adjust the padding between and around the subplots.Create a new figure or activate an existing figure.Add an ax to the figure as ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
1K+ Views
To plot the outline of the outer edges on a Matplotlib 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.Plot x and y data points with linewidth set to 10 and ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
14K+ Views
To merge two existing matplotlib plots into one plot, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create x, y1 and y2 data points using numpy.Plot (x, y1) and (x, y2) points using plot() method.Get the xy data points of ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
360 Views
Let's take an example to see how imshow() handles the alpha channel with an M×N×4 input.StepsSet the figure size and adjust the padding between and around the subplots.Return a new array of given shape and type, filled with 1's.Handle the alpha channel.Display the data as an image, i.e., on a ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
397 Views
To set a Matplotlib rectangle edge to outside of specified width, 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.Add an ax to the figure as part of a subplot arrangement.Initialize a ... Read More
![Rishikesh Kumar Rishi](https://www.tutorialspoint.com/assets/profiles/318007/profile/60_254496-1615815423.jpg)
Rishikesh Kumar Rishi
2K+ Views
To add a cursor to a curve in Matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create t and s data points using numpy.Create a figure and a set of subplots.Get the cursor class instance, to update the cursor ... Read More