How to add title to seaborn boxplot

811    Asked by AryanTandon in Python , Asked on Jun 3, 2021

Seems pretty Googleable but haven't been able to find something online that works.

I've tried both sns.boxplot('Day', 'Count', data= gg).title('lalala') and sns.boxplot('Day', 'Count', data= gg).suptitle('lalala'). None worked. I think it might be because I'm also working with matplotlib.

Answered by Carl Paige

Add this below line of code at the end of your code:

import matplotlib.pyplot as plt
plt.title('add title here')

What is Seaborn: It is Python's Statistical Data Visualization Library, which provides a high-level interface to draw statistical graphics.



Your Answer

Interviews

Parent Categories