Lesson 06 6.02 Knowledge Check
Lesson 06 6.02 Knowledge Check
Knowledge
Check
Which of the following methods is used to set the title?
1
A. plot()
B. plt.title()
C. plot.title()
D. title()
Knowledge
Check
Which of the following methods is used to set the title?
1
A. plot()
B. plt.title()
C. plot.title()
D. title()
A. plot.subplots_adjust()
B. plt.subplots_adjust()
C. subplots_adjust()
D. plt.subplots.adjust()
Knowledge
Check
Which of the following methods is used to adjust the distances between the
2 subplots?
A. plot.subplots_adjust()
B. plt.subplots_adjust()
C. subplots_adjust()
D. plt.subplots.adjust()
A. %matplotlib
B. %matplotlib inline
C. import matplotlib
D. import style
Knowledge
Check
Which of the following libraries needs to be imported to display the plot on Jupyter
3 notebook?
A. %matplotlib
B. %matplotlib inline
C. import matplotlib
D. import style
A. Legend
B. Alpha
C. Animated
D. Annotation
Knowledge
Check
Which of the following keywords is used to decide the transparency of the plot line?
4
A. Legend
B. Alpha
C. Animated
D. Annotation
Alpha decides the line transparency in line properties while plotting line plot/ chart.
Knowledge
Check
Which of the following plots is used to represent data in a two-dimensional manner?
5
A. Histogram
B. Heat Map
C. Pie Chart
D. Scatter Plot
Knowledge
Check
Which of the following plots is used to represent data in a two-dimensional manner?
5
A. Histogram
B. Heat Map
C. Pie Chart
D. Scatter Plot
A. plt.xlim(0, 6)
B. plt.ylim(0, 6)
C. plt.xylim(0, 6)
D. plt.axis([0, 6, 0, 6])
Knowledge
Check
Which of the following statements limits both x and y axes to the interval [0, 6]?
6
A. plt.xlim(0, 6)
B. plt.ylim(0, 6)
C. plt.xylim(0, 6)
D. plt.axis([0, 6, 0, 6])
plt.axis([0, 6, 0, 6]) statement limits both x and y axes to the interval [0, 6].