Direction: Choose the correct option
Q1.
Which function creates a histogram in Matplotlib?
Direction: Choose the correct option
Q2.
What does the `bins` parameter control in `plt.hist()`?
Direction: Choose the correct option
Q3.
How do you create a scatter plot?
Direction: Choose the correct option
Q4.
What does `alpha` parameter control in a scatter plot?
Direction: Choose the correct option
Q5.
How do you add a colorbar to a scatter plot based on a third variable?
Direction: Choose the correct option
Q6.
What does `plt.hist2d(x, y)` produce?
Direction: Choose the correct option
Q7.
How can you overlay a density curve on a histogram?
Direction: Choose the correct option
Q8.
What is the purpose of `plt.subplots()`?
Direction: Choose the correct option
Q9.
How do you change the marker size in `plt.scatter()`?
Direction: Choose the correct option
Q10.
What does `plt.clf()` do?
