Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

grouped bar chart matplotlib

pd.crosstab(fuel_econ['VClass'], fuel_econ['trans_type']).plot.bar()
plt.xticks(rotation=15)
plt.ylabel('count')
plt.title("Using Pandas' plot backend")
plt.show()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #grouped #bar #chart #matplotlib
ADD COMMENT
Topic
Name
7+4 =