Meaning of 'hue" in seaborn barplot
In seaborn, the hue parameter determines which column in the data frame should be used for colour encoding. Using the official document for lmplotprovided an example for this.

import seaborn as sns; sns.set(color_codes=True)
tips = sns.load_dataset("tips")
g = sns.lmplot(x="total_bill", y="tip", data=tips)




Adding `hue="smoker" tells seaborn you want to colour the data points for smoker and non-smoker differently.

&gt;&gt;&gt; g = sns.lmplot(x="total_bill", y="tip", hue="smoker", data=tips)