Answers for "bar graphs py plot"

4

bar plot matplotlib

import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_axes([0,0,1,1])
langs = ['C', 'C++', 'Java', 'Python', 'PHP']
students = [23,17,35,29,12]
ax.bar(langs,students)
plt.show()
Posted by: Guest on May-14-2020
0

bar plot

sns.barplot(x='sex',y='total_bill',data=t)Copy
Posted by: Guest on June-26-2021

Python Answers by Framework

Browse Popular Code Answers by Language