# matplotlib_course
Matplotlib Course for Beginners
- Welcome to the Matplotlib Course for Beginners π
- This repository contains beginner-friendly examples of data visualization in Python using Matplotlib.
β Learn how to set axis labels, limits, and ticks.

β Create simple and grouped bar charts.

β Visualize data distribution and outliers.

β Display frequency distributions.

β Represent data in circular plots.

β Compare variables with scatter plots.

β Visualize stacked data over time.

β Create discrete plots with vertical lines.

β Create plots with stepwise data.

β Arrange multiple plots in a single figure.

β Export plots to image files (PNG, JPG, etc.).
import matplotlib.pyplot as plt x = [1, 2, 3, 4, 5] y = [10, 8, 6, 4, 2] plt.plot(x, y, marker="o", color="red", label="Line Plot") plt.title("Save Figure Example") plt.xlabel("X-axis") plt.ylabel("Y-axis") plt.legend() plt.savefig("images/savefigure.png") # Save as PNG plt.savefig("images/savefigure.jpg") # Save as JPG plt.savefig("images/savefigure.pdf") # Save as PDF
plt.show()
Before running the code, install the following:
- pip install matplotlib numpy
- pip install notebook
-
Beginners in Python who want to learn data visualization
-
Students and aspiring data scientists
-
Anyone interested in making beautiful charts with Python

