# Data Visualization Quiz 5

Share with others

Welcome to your Data Visualization Quiz 5

Name
Email
School Name
Q41. Fill in the blank in the given code, if we want to plot a line chart for values of list a vs values of list b

a = [1, 2, 3, 4, 5]b = [10, 20, 30, 40, 50]import matplotlib.pyplot as pltplt.plot __________

Q42. Which of the following is used to design 2D charts/graphs/figures?

Q43. The following code will create ____________ .

import matplotlib.pyplot as pla = [1,2,3,4,5]b = [10, 20, 30, 40, 50]c = [5, 10, 15, 20, 25]pl.plot(a,b)pl.plot(a,c)pl.show()

Q44. The following code will show __________ lines in the figure/chart.

import matplotlib.pyplot as pl
a = [1,2,3,4,5]
b = [10, 20, 30, 40, 50]
c = [5, 10, 15, 20, 25]
pl.plot(a,b)
pl.plot(a,c)
pl.show()

Q45. The following statement will create line plot of _________ color.

pl.plot(a,b,'g') #a and b are list

Q46. Which of the following chart can not be created by using matplotlib.pyplot ?

Q47. Which of the following function is used to plot a line chart?

Q48. Which function is used to display the legend in plot?

Q49. Which of the following function will create bar chart?

Q50. The following code will create ______________

pl.plot(a) #a is a list and pl is an alias of matplotlib.pyplot

Share with others
error: Content is protected !!