myDict = {'a':[3,13,18,16,19,9,13,15,0,2],\
'b':[23,14,18,24,19,9,14,13,21,22],\
'c':[38,17,12,15,39,38,23,19,16,16]}
df = pd.DataFrame (myDict) df_melted = df.melt (value_vars = ['a', 'b', 'c'])
fig, ax1 = plt. subplots () sns.barplot (x = 'variable', y = 'value', data = df_melted, capsize = 0.1, ax = ax1, order = ['b', 'a', 'c']) plt , plt.show () plt.close ()