Answers for "matplotlib FiveThirtyEight horizontal graph"

0

matplotlib FiveThirtyEight horizontal graph

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()
Posted by: Guest on August-23-2021

Python Answers by Framework

Browse Popular Code Answers by Language