Advertisements
Advertisements
Question
Fill the missing statement:
import matplotlib. pyplot as plt
marks = [30, 10, 55, 70, 50, 25, 75, 49, 28, 81]
plt. ______ (marks, bins=' auto', color=' green')
plt. show()
Options
Plot
Bar
Hist
Line
MCQ
Fill in the Blanks
Advertisements
Solution
import matplotlib. pyplot as plt
marks = [30, 10, 55, 70, 50, 25, 75, 49, 28, 81]
plt. Hist (marks, bins=' auto', color=' green')
plt. show()
shaalaa.com
Introduction of Plotting Data Using Matplotlib
Is there an error in this question or solution?
