Podcast
Questions and Answers
What is the purpose of the 'import numpy as np' statement in the code?
What is the purpose of the 'import numpy as np' statement in the code?
What does 'htI= np.random.randint(157,163,size=1000)' accomplish?
What does 'htI= np.random.randint(157,163,size=1000)' accomplish?
What is the purpose of 'plt.subplot(211)' in the code?
What is the purpose of 'plt.subplot(211)' in the code?
Explain the purpose of the 'plt.subplot(212)' in the code.
Explain the purpose of the 'plt.subplot(212)' in the code.
Signup and view all the answers
What does 'plt.grid(True)' accomplish in the code?
What does 'plt.grid(True)' accomplish in the code?
Signup and view all the answers
What is the purpose of 'histD=plt.hist(htI, label="Indian Height", bins=hBins,rwidth=0.7)' in the code?
What is the purpose of 'histD=plt.hist(htI, label="Indian Height", bins=hBins,rwidth=0.7)' in the code?
Signup and view all the answers