Adding labels to axes in overlay plots in Seaborn

Importing data from here

In [1]:
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt

expenses = pd.read_csv('tourist_per_night.csv')

Overlaying

In [2]:
fig, ax = plt.subplots()
sns.lineplot(x='Year', y="Seychelles", data=expenses, ax=ax)
sns.lineplot(x='Year', y="Reunion Island", data=expenses, ax=ax)
Out[2]:
<matplotlib.axes._subplots.AxesSubplot at 0xd0af0b0>

labelling plots

In [4]:
fig, ax = plt.subplots()
sns.lineplot(x='Year', y="Seychelles", data=expenses, ax=ax)
sns.lineplot(x='Year', y="Reunion Island", data=expenses, ax=ax)
ax.set(xlabel='Time', ylabel='Expense')
Out[4]:
[Text(0, 0.5, 'Expense'), Text(0.5, 0, 'Time')]

Lives in Mauritius, cruising python waters for now.