python seaborn lmplot add title

sns.lmplot(x, y, data=df, hue="hue")
ax = plt.gca()
ax.set_title("Graph (a)")

Here is what the above code is Doing:
1. We’re using the seaborn library to create a scatterplot.
2. We’re using the lmplot() function to create the scatterplot.
3. We’re passing in the x and y variables as the first two parameters.
4. We’re passing in the dataframe as the third parameter.
5. We’re passing in the hue variable as the fourth parameter.
6. We’re getting the current axes instance using the plt.gca() function.
7. We’re setting the title of the axes instance to “Graph (a)”.