Seaborn Graph - plot NOT starting at (0,0)

Viewed 4404

How do i make my graph begin at (0,0) by default? I have the problem throughout every graphicla plot using seaborn

g = sns.FacetGrid(data=titanic,col='sex')
g.map(plt.hist,'age')

enter image description here

2 Answers

Use this code to set the x limits of the current axes:

plt.xlim(0)
Related