Reputation: 6051
How do I select what axes to plot on in pandas?
For example, if I were graphing a countplot in seaborn, I would have written the following:
sns.countplot(females_xt, ax = axes[0][0])
However, I'm not sure how to do this with pandas' plotting capabilities. Any help would be appreciated!
Thanks
Upvotes: 0
Views: 211
Reputation: 2424
It is the same parameter ax
in pandas.dataframe.plot like:
female_xt.plot(kind ='bar',stacked = True,ax=my_ax)
Upvotes: 1