Screen Link:
The solution notebook shows how to solve this project question using seaborn, and I was wondering if I can just use pyplot instead.
My Code:
only_4.plot.box(x = 'CountryLive', y = 'money_per_month')
plt.xticks(range(4), ['US', 'UK', 'India', 'Canada'])
plt.show()
What I expected to happen:
I expected to see four boxplots in a figure similar to this:
What actually happened:
The code seems to generate only one boxplot in the figure:
How should i code to generate the plot like the solution using pyplot? Should I use subplots?