CUET-UG SERIES
Computer-science

Histogram Plotting

1 previous year questions.

Volume: 1 Ques
Yield: Medium

High-Yield Trend

1
2023

Chapter Questions
1 MCQs

01
PYQ 2023
medium
computer-science ID: cuet-ug-
Which of the following statements is used to create a histogram of 'step' type with 20 bins?
1
plt.hist(x, bins = 20, histtype = "barstacked")
2
plt.hist(x, bins = 20)
3
plt.hist(x, bins = 20, histtype = "step")
4
plt.hist(x, bins = 20, histtype = hist())