Which function is used to create a box plot in Matplotlib?

39. Which function is used to create a box plot in Matplotlib?

  1. plt.plot(type='box')
  2. plt.createbox()
  3. plt.plotbox()
  4. plt.boxplot()

Answer: D) plt.boxplot()

Explanation:

The plt.boxplot() function is used to create a box plot in Matplotlib.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.