Welcome to the Treehouse Community
Looking to learn something new?
Stephen ColeCourses Plus Student 15,592 Points
UserWarning: axes.color_cycle is deprecated and replaced with axes.prop_cycle; please use the latter.
When this error appears, here is the fix:
colors = [color['color'] for color in list(plt.rcParams['axes.prop_cycle'])]
Or, at the very least, it seems to fix the problem.
Not sure if your solution is the problem, but the price range colors doesn't match with the bar colors of the x-axis.
For example the range 0-50$ is supposed to be gray, but the bar on the x-axis is blue. The indexing is off it seems.