Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

multiple bars barchart matplotlib

ax = plt.subplot(111)
w = 0.3
ax.bar(x-w, y, width=w, color='b', align='center')
ax.bar(x, z, width=w, color='g', align='center')
ax.bar(x+w, k, width=w, color='r', align='center')
ax.xaxis_date()
ax.autoscale(tight=True)

plt.show()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #multiple #bars #barchart #matplotlib
ADD COMMENT
Topic
Name
5+1 =