I'm trying to add the same comparison line to multiple plots using FacetGrid. Here is where I get stuck:
# Import the dataset
tips = sns.load_dataset("tips")
# Plot using FaceGrid, separated by smoke
g = sns.FacetGrid(tips, col="smoker", size=5, aspect=1.5)
g.map(plt.scatter, "tip", "total_bill")
x = np.arange(0, 50, .5)
y = 0.2*x
plt.plot(y, x, C='k')
plt.show()
As you can see, the line shows up on the last plot, but not the first. How do I get it on both?