0% found this document useful (0 votes)
56 views1 page

Matplotlib and Seaborn Assignment Questions

This document outlines an assignment for Data Science students at Shri Vaishnav Vidyapeeth Vishwavidyalaya, focusing on using Matplotlib and Seaborn for data visualization. It provides instructions for various types of plots, including bar, line, scatter, pie, histogram, box plots, subplots, and heatmaps, along with submission details. The assignment is due on October 3, 2022, and can be completed using any Python IDE.

Uploaded by

workclg036
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views1 page

Matplotlib and Seaborn Assignment Questions

This document outlines an assignment for Data Science students at Shri Vaishnav Vidyapeeth Vishwavidyalaya, focusing on using Matplotlib and Seaborn for data visualization. It provides instructions for various types of plots, including bar, line, scatter, pie, histogram, box plots, subplots, and heatmaps, along with submission details. The assignment is due on October 3, 2022, and can be completed using any Python IDE.

Uploaded by

workclg036
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Shri Vaishnav Vidyapeeth Vishwavidyalaya, Indore (MP)

Matplotlib and Seaborn Assignment


Data Science-BTIBM505 , All Sections - M,D,E
Submission last Date – 3/Oct/2022
You can perform python Code on any IDE - Pycharm, Jupyter, Colab, Visual Studio Code
1. Import library - import matplotlib.pyplot as plt , import seaborn as sns
2. Create - (v is here variable) - plt.figure(figsize=(10,5), plt.title(‘ ‘ )plt.xlabel(‘ ‘), plt.ylabel(‘ ‘), plt.grid(),
plt.legend(loc=4), plt.xticks(rotation=180) , plt.show()
3. 1. Bar plot - plt.bar(x,y), sns.barplot(x,y)
4. 2. Line plot – plt.plot(x, y, color=‘red’) , sns.lineplot(x, y)
5. 3. Scatter Plot – plt.scatter(x, y ), sns.scatterplot(x, y, hue=‘categorical’)
6. 4. Pie Chart - plt.pie( v , label=v.index, autopct=“ % 0.2f%% ” or plt.pie(v, label=v.index , explode = [0,0,.2,0], shadow=True,
autopct = ‘% 0.1f%%’
7. 5. Histogram – plt.hist( v[c1], color = ‘red’) , sns.histplot(v[c1])
8. 6. Box Plot – plt.boxplot(v) , sns.boxplot(data=b)
9. 7. Subplot - plt.subplot(1,2,1), plt.subplot(1,2,2)
10. 8. Heatmap - sns.heatmap(corr, annot=True)
PERFORM THESE METHODS AND OPERATIONS THEN SUBMIT ASSIGNMENT

E - https://forms.gle/UYg5LqqtJxTj1jxu5

Om Kant Sharma

You might also like