I am using Seaborn's FacetGrid to combine many plots in one figure and I want to remove the legend title. For instance, in the example below, I want to remove the title "sex".
import matplotlib.pyplot as plt
import seaborn as sns
tips = sns.load_dataset('tips')
g = sns.FacetGrid(tips, col= 'day')
g.map(sns.lineplot, 'total_bill', 'tip', 'sex', ci = False)
g.add_legend()
I am aware of the discussion how to change the title in, e.g., How can I change the Seaborn FacetGrid's legend title? However, I have not seen how to remove the legend title