how to plotting horizontal bar on matplotlib

import matplotlib.pyplot as plt 

data = [5., 25., 50., 20.]
plt.barh(range(len(data)), data)
plt.show()

Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
python horizontal bar matplot how to draw horizontal bar graph in python matplotlib bar horizontal matplotlib horizontal bar chart stacked bar matplotlib horizontal draw a horizontal bar graph with matplotlib create 2. Horizontal bar in matplotlib python plot horizontal bar how to make horizontal bar chart in python Matplotlib bar horizontal matplotlib horizontal bar graph in python make matplotlib barplot horizontal bar chart horizontal matplotlib matplotlib horizontal stacked bar horizontal bar plot matplotlib python how to make horizontal bar graph in matplotlib graph horizontal bar matplotlib matplotlib horizontal bars horizontal bar graph in matplotlib how to plot horizontal bar graph in python using pyplot matplotlib plot bar horizontally matplotlib horizontal bar plot how to plot a horizontal bar graph in python plot horizontal bar matplotlib horizontal bar using python matplotlib horizontal bar chart matplotlib pandas horizontal bar plot using Matplotlib. matplotlib horizontal bar diagram bar plot matplotlib horizontal horizontal bar graph matplotlib how to create horizontal bar chart in matplotlib plot bar horizontal python bar chart with horizontal bars matplotlib matplotlib plot horizontal bar chart matplotlib bar plot horizontal how to plot horizontal bar graph in python horizontal barplot matplotlib plot horizontal bar chart matplotlib python matplotlib horizontal bar chart make a sideways bar in matplotlib set y_pos matplotlib horizontal line with matplotlib matplotlib single horizental bar python matplotlib horizontal bar graph matplotlib bar plot +90° horizontal Bar chart using Plotly in Python matplotlib horizontal bar chart "subplot" matplotlib horizontal bar chart subplot python horizontal line stack matplotlib matplotlib plot horizontal line flipped barchart python matplotlib.pyplot how to plot a vertical and horizontal bar chart in python matplotlib bar chart orientation horizontal bar chart python matplotlib creating horizontal bar graph in matplotlib python horizontal bar chart matplotlib horizontal matplotlib plot horizontal line matplotlib horizontal bar chart pythomn python horizontal bars vertical bar plot matplotlib horizantal bar chart python horizontal bar chart python matlib plot boxplot horizontal matplotlib horizontal bar chart horizontal bar plot bar plot horizontal python plt horizontal bar matplotlib horizontal bar plt bar horizontal exmaple horizontal var plt horizontal bar matplotlib plot horizontal bar graph in python horizontal bar plot matplotlib horizontal bar chart in matplotlib pyplot bar chart horizontal matplotlib flip bar chart plot data horizontal in matplotlib python python make horizontal bar vertical python horizontal histogram horizontal bar graph python bar chart matplotlib python orientation python plot horizontal barplot rotate bar plot python how to plot horizontal bar graph in python matplotlib python horizontal bar chart horizontal bar plot python how to plotting horizontal bar on matplotlib
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source