5 minutes
Thanks you have successfully attempted the quiz.
Matplotlib Quiz
Fill out the form to attempt test.
1 / 15
1. What is the default backend used by Matplotlib?
2 / 15
2. How can you create a simple line plot in Matplotlib?
3 / 15
3. Which function is used to display a plot in Matplotlib?
4 / 15
4. Which of the following commands can be used to plot a bar chart?
5 / 15
5. In Matplotlib, which function is used to set the title of the plot?
6 / 15
6. How can you add labels to the x and y axes in a Matplotlib plot?
7 / 15
7. How can you change the figure size in Matplotlib?
8 / 15
8. Which of the following is used to add a grid to the plot?
9 / 15
9. How can you change the color of a line in a plot?
10 / 15
10. Which function is used to save a Matplotlib figure as a file?
11 / 15
11. What does the plt.legend() function do in Matplotlib?
12 / 15
12. How do you create a pie chart in Matplotlib?
13 / 15
13. What is the purpose of plt.subplot() in Matplotlib?
14 / 15
14. Which of the following allows you to add text annotations to a plot?
15 / 15
15. How can you change the style of a plot (e.g., line style, marker type) in Matplotlib?
Your score is
Welcome to DADS Course
Email : info@techpratham.com
Phone (India) : +91-8882178896
WhatsApp : +91-8384036614