Screen Link:
https://app.dataquest.io/m/144/bar-plots-and-scatter-plots/5/aligning-axis-ticks-and-labels
My Code:
num_cols = ['RT_user_norm', 'Metacritic_user_nom', 'IMDB_norm', 'Fandango_Ratingvalue', 'Fandango_Stars']
bar_heights = norm_reviews[num_cols].iloc[0].values
bar_positions = arange(5) + 0.75
tick_positions = range(1,6)
fig, ax = plt.subplots()
ax.bar(bar_positions, bar_heights, 0.5)
ax.set_xticks(tick_positions)
ax.set_xticklabels(num_cols, rotation=90)
ax.set_xlabel('Rating Source')
ax.set_ylabel('Average Rating')
ax.set_title('Average User Rating For Avengers: Age of Ultron (2015)')
plt.show()
What I expected to happen:
The plots to match and me to move on.
What actually happened:
Your 1st plot does not match what was expected.
They look the same, the code matches so I have no idea what to do next.