Answers for "matplotlib horizontal bar chart subplot"

2

horizontal line matplotlib python

import matplotlib.pyplot as plt
plt.axhline(0)
Posted by: Guest on March-20-2020
1

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()
Posted by: Guest on June-13-2020
0

horizontal bar plot python

import seaborn as sns

sns.barplot(data=df, orient = 'h')
Posted by: Guest on November-08-2020

Code answers related to "matplotlib horizontal bar chart subplot"

Python Answers by Framework

Browse Popular Code Answers by Language