Screen Link:
https://app.dataquest.io/jupyter/notebooks/jupyter-project-bar/Earnings%20Based%20on%20College%20Majors.ipynb
My Code:
<<<
cols = [‘Major_category’, ‘Median’]
category_compare = recent_grads_original[cols]
data = category_compare[‘Median’]
category = category_compare[‘Major_category’]
category_compare.boxplot(column=‘Median’, by=‘Major_category’)
plt.set_xticks(range(len(category)))
plt.set_xticklabels(category, rotation=90)
plt.set_ylim(0,100000)
plt.show()
Replace this line with your code
What I expected to happen:
I expected my x-axis title to be rotated 90 degrees.
What actually happened:
They were not.
Replace this line with the output/error
There was no error statement!
[Major Category Boxplot|471x500](upload://qmiTJGfgGgLs9jkEyYb8DhBYzaZ.jpeg)  ```
<!--Enter other details below: -->