Advertisements
Advertisements
Question
The command used to draw a bar graph horizontally is ______.
Options
pl.barhor(x,y)
pl.hbar(x,y)
pl.barh(x,y)
pl.graphbarh(x,y)
MCQ
Fill in the Blanks
Solution
pl.barh(x,y)
Explanation:
The horizontal bar graph is created with the barh() method.
shaalaa.com
The Pandas Plot Function (Pandas Visualisation)
Is there an error in this question or solution?