Question 1
What does Matplotlib provide in Python?
Data manipulation
Data visualization
Machine learning
Text processing
Question 2
Which of the following functions is used to create a scatter plot in Matplotlib?
plot()
bar()
scatter()
line()
Question 3
What is the purpose of the xlabel() function in Matplotlib?
Set the x-axis label
Set the y-axis label
Set the title of the plot
Set the legend
Question 4
Which Matplotlib method is used to save a figure to a file?
savefig()
saveplot()
exportfig()
downloadfig()
Question 5
What is the purpose of the legend() function in Matplotlib?
Display the plot title
Display the axis labels
Display a legend
Display the grid
Question 6
How do you set the title of a plot in Matplotlib?
title() method
set_title() method
plot_title() method
set_plot_title() method
Question 7
How do you set the title of a plot in Matplotlib?
title() method
set_title() method
plot_title() method
set_plot_title() method
Question 9
In Matplotlib, what does the xticks() function do?
Set the x-axis ticks
Set the y-axis ticks
Set tick labels
Set the tick locations
Question 10
How can you add text annotations to a Matplotlib plot?
annotate() method
add_text() method
text() method
add_annotation() method
There are 25 questions to complete.