Learn Python
Learn Data Structure & Algorithm
Learn Numpy
Learn Pandas
Matplotlib Introduction
Matplotlib Bar Plot
Matplotlib Pie Chart
Matplotlib Hist Plot
Matplotlib Line Plot
Matplotlib Scatter Plot
Matplotlib Subplot
Matplotlib Save image
Learn Seaborn
Learn Statistics
Learn Math
Learn MATLAB
Learn Machine learning
Learn Github
Learn OpenCV
Learn Deep Learning
Learn MySQL
Learn MongoDB
Learn Web scraping
Learn Excel
Learn Power BI
Learn Tableau
Learn Docker
Learn Hadoop
To save an image of charts write module_name. savefig("Here write image name as a string"). The image will save in the project's directory. Project directory means that place in pc where you save another file of that particular project. By default, you will get the image in png format.
Here dpi means dot(pixel) per inch. To set dpi use the dpi parameter and pass integer value. By default, the dpi value is 100. You can increase or decrease the resolution of the image by increasing or decreasing the dpi value.