style.use('fivethirtyeight')#style of graph fig, ax = plt.subplots(figsize=(9, 5)) ax.barh(df1_corr.index, df1_corr) ax.barh(df2_corr.index, df2_corr) plt.show()