Keen Learner and Exp...ย โขย 5m
Day 16 of learning Data Science as a beginner. Topic: plotting graphs using matplotlib matplotlib is a the most fundamental plotting library in Python we typically use matplotlib.pyplot module in python you can understand it as the paintbrush which will draw the visualisation of our data we usually abbreviate this as plt. One of the many reasons for using matplotlib is it is really easy to use and is more readable. Plt involves many functions which we use in order to plot our graph. 1. plt.plot: this will create a line graph representation of our data. 2. plt.xlabel: this is used to give name to our x axis 3. plt.ylabel: this is used to give name to our y axis 4. plt.legend: this will also show legends in our graphical representation of our data 5. plt.title: this will give your graph a name i.e. a title 6. plt.show: this will open a new screen with the representation of your graph (works only on normal python script compiler and not on notebooks) There is also something called as format strings which you can use to decorate and make your graph more engaging to your audience. Matplotlib also offers various types of styles which you can use to alter the styles of your graphs. You can also view available styles which matplotlib offers using plt.style.available function. Also here's my code and its result.


ย โขย
Self Employedย โขย 3m
Iโve been strengthening my data analysis and visualization fundamentals by building multiple end-to-end analytical projects using Python, Pandas, Matplotlib, and Seaborn. Projects worked on: Video Game Market Analysis Football Performance Analysis (
See More



Learning is real wea...ย โขย 2m
Hello everyone Today'd update Day 8/100 โข Worked on a mini Zomato project โข Performed basic data analysis on the dataset โข Explored insights using Python โข Created visualizations using Matplotlib โข Revised important NumPy concepts and functions Focu
See MoreKeen Learner and Exp...ย โขย 5m
Day 11 of learning Data science as a beginner Topic: creating data structure In my previous post I discussed about the difference between panda's series and data frames we typically use data frames more often as compared to series There are a lot
See More


Training Consolerย โขย 1y
Python is a beginner-friendly and powerful programming language, perfect for diving into data science. Start by learning the basics like variables, loops, and functions. Explore popular libraries such as Pandas for data manipulation, NumPy for nume
See More
Download the medial app to read full posts, comements and news.