I have a pandas dataframe with user information. I would like to plot the age of users as both a kind='kde' and on kind='hist' on the same plot. At the moment I am able to have the two separate plots. The dataframe resembles:
member_df=
user_id Age
1 23
2 34
3 63
4 18
5 53
...
using
ax1 = plt.subplot2grid((2,3), (0,0))
member_df.Age.plot(kind='kde', xlim=[16, 100])
ax1.set_xlabel('Age')
ax2 = plt.subplot2grid((2,3), (0,1))
member_df.Age.plot(kind='hist', bins=40)
ax2.set_xlabel('Age')
ax3 = ...
I understand that the kind='kde' will give me frequencies for the y-axis whereas kind='kde' will give a cumulative distribution, but is there a way to combine both and have the y-axis be represented by the frequencies?

