import seaborn as sns
import matplotlib.pyplot as plt
def plot_facetgrid_two_variables():
exercise_data = sns.load_dataset('exercise')
g = sns.FacetGrid(exercise_data, col="diet", row="kind")
g.map(plt.scatter, "pulse", "time")
plt.show()
plot_facetgrid_two_variables()