QUIZ Time Starts !

5 minutes

Thanks you have successfully attempted the quiz.


Matplotlib Quiz

Fill out the form to attempt test.

 

 

 

1 / 15

Question 1 of 15:

1. What is the default backend used by Matplotlib?

2 / 15

Question 2 of 15:

2. How can you create a simple line plot in Matplotlib?

3 / 15

Question 3 of 15:

3. Which function is used to display a plot in Matplotlib?

4 / 15

Question 4 of 15:

4. Which of the following commands can be used to plot a bar chart?

5 / 15

Question 5 of 15:

5. In Matplotlib, which function is used to set the title of the plot?

6 / 15

Question 6 of 15:

6. How can you add labels to the x and y axes in a Matplotlib plot?

7 / 15

Question 7 of 15:

7. How can you change the figure size in Matplotlib?

8 / 15

Question 8 of 15:

8. Which of the following is used to add a grid to the plot?

9 / 15

Question 9 of 15:

9. How can you change the color of a line in a plot?

10 / 15

Question 10 of 15:

10. Which function is used to save a Matplotlib figure as a file?

11 / 15

Question 11 of 15:

11. What does the plt.legend() function do in Matplotlib?

12 / 15

Question 12 of 15:

12. How do you create a pie chart in Matplotlib?

13 / 15

Question 13 of 15:

13. What is the purpose of plt.subplot() in Matplotlib?

14 / 15

Question 14 of 15:

14. Which of the following allows you to add text annotations to a plot?

15 / 15

Question 15 of 15:

15. How can you change the style of a plot (e.g., line style, marker type) in Matplotlib?

Your score is