Direction: Choose the correct option
Q1.
Which library is most commonly used for basic plotting in Python?
Direction: Choose the correct option
Q2.
How do you create a simple line plot using Matplotlib?
Direction: Choose the correct option
Q3.
What does `plt.bar(x, y)` produce?
Direction: Choose the correct option
Q4.
How do you add a title to a plot?
Direction: Choose the correct option
Q5.
What is the purpose of `plt.xlabel('X')`?
Direction: Choose the correct option
Q6.
How do you display a plot in a Jupyter notebook?
Direction: Choose the correct option
Q7.
How do you create a horizontal bar chart?
Direction: Choose the correct option
Q8.
What does `plt.legend()` do?
Direction: Choose the correct option
Q9.
How do you save a plot to a file?
Direction: Choose the correct option
Q10.
What is the output of `plt.plot(x, y, 'r--')`?
