Generation

generate functionSat, 04 Mar 2023

Change the code of this graph so that the x-axis reference scale (x-limit) starts at 6 top20 = df19[['Country or region', 'Score']].sort_values(by='Score', ascending=False).head(20) sns.barplot(data=top20, x='Score', y='Country or region', color='#5ed14f')

sns.barplot(data=top20, x='Score', y='Country or region', color='#5ed14f') plt.xlim(6,8)

Questions about programming?Chat with your personal AI assistant