Answers for "bar plot [ython"

3

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

df.groupby('species').mean().plot.bar()
Posted by: Guest on June-03-2021

Python Answers by Framework

Browse Popular Code Answers by Language