Informatics Practices
Related Questions
Write a Python program to display a horizontal bar chart of the number of students in a class.
Sample data:
Class: I, II, III, IV, V, VI, VII, VIII, IX, X
Strengths: 40, 43, 45, 47, 49, 38, 50, 37, 43, 39Plot a line graph for: y2 = 4*x
Name the various methods used with pyplot object.
Write the specific purpose of the following functions used in plotting:
(a) show()
(b) legend()
