Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
Source by app.dataquest.io #
 
PREVIOUS NEXT
Tagged: #matplotlib #FiveThirtyEight #horizontal #graph
ADD COMMENT
Topic
Name
4+2 =