line-plot

Remove seaborn lineplot legend title

Remove seaborn lineplot legend title Question: I would like to remove the title from my seaborn lineplot legend. I tried using this answer to no avail: import matplotlib.pyplot as plt import seaborn as sns; sns.set() fmri = sns.load_dataset(“fmri”) fig, ax = plt.subplots() g = sns.lineplot(x=”timepoint”, y=”signal”, hue=”event”, data=fmri, ax=ax) ax.legend().set_title(”) I get the same if …

Total answers: 3