Class 12 IP Chapter 3 Plotting With Pyplot I – Bar Graphs And Scatter Plots Solutions Sumita Arora New Syllabus / Uncategorized / By Neha Ex 3.1 Solutions 1. What is data visualization ? ...click here for answer . Name the Python library generally used for data visualization. ...click here for answer 3. Is Pyplot a Python library ? What is it ? ...click here for answer 4. Which of the following are not a valid plotting function of pyplot ? ...click here for answer 6. Name the function you will use to create a horizontal bar chart. ...click here for answer 7. Which argument will you provide to change the following in a line chart ? ...click here for answer 8. What is a marker ? How can you change the marker type and colour in a plot ? ...click here for answer Back Exercise Part A 6. Explain with a code example the usage of default arguments and keyword arguments. ...click here for answer 9. When should you use (i) a line chart, (it) a bar chart, (iii) a scatter chart ? ...click here for answer 10. A list namely temp contains average temperatures for seven days of last week.*You want to see how the temperature changed in last seven days. Which chart type will you plot for the same and why ? A bar ...click here for answer 11. Write code to practically produce a chart for previous question. (i) using line chart, (it) using scatter chart. ...click here for answer 5. Compare bar( ) and barh( ) functions. ...click here for answer 6. What is the role of legends in a graph/chart ? ...click here for answer 7. What will happen if you use legend() without providing any label for the data series being plotted ? ...click here for answer 8. What do you understand by xlimit and ylimit ? How are these linked to data being plotted ? ...click here for answer 1. What is the significance of data visualization ? ...click here for answer 2. How does Python support data visualization ? ...click here for answer 3. What is the use of matplotlib and pyplot ? ...click here for answer 4. What are the popular ways of plotting data ? ...click here for answer Back Exercise Part B 1. Execute the following codes and find out what happens ? (Libraries have been imported already ; pit is the alias name for matplotlib.pyplot) ...click here for answer 2. Add titles for the X-axis, Y-axis and for the whole chart in above codes ...click here for answer 3. plt.plot(A, B) produces (A and B are the sequences same as created in question 2) chart as : Write codes ...click here for answer 4. Given a data frame df1 as shown below : ...click here for answer Back Exercise Part C 1. Consider the data given below. Create sequences required from the data below. ...click here for answer 2. Consider the data given below : ...click here for answer