Home »
Python »
Matplotlib MCQs
Which function is used to create a box plot in Matplotlib?
39. Which function is used to create a box plot in Matplotlib?
- plt.plot(type='box')
- plt.createbox()
- plt.plotbox()
- plt.boxplot()
Answer: D) plt.boxplot()
Explanation:
The plt.boxplot() function is used to create a box plot in Matplotlib.