Which function is used to create histograms in matplotlib?

30. Which function is used to create histograms in matplotlib?

  1. histograms()
  2. histogram()
  3. histgraph()
  4. hist()

Answer: D) hist()

Explanation:

In Matplotlib, the hist() function is used to create histograms. A histogram is a graph showing frequency distributions.

Comments and Discussions!

Load comments ↻






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