how can we create a horizontal bar graph and horizontal histogram
Answers
Answered by
0
Answer:
1 .Creating a horizontal bar chart
2.Importing matplotlib. pyplot as plt.
3. Creating list y for discrete values on y-axis.
4.Creating list x consisting only numeric data for discrete values on x-axis.
5. Calling plt. ...
6. Setting x_label() and y_label()
7. Setting title() for our bar chart.
8. Calling plt.
Similar questions