Setting Up Seaborn1:59 with AJ Tran
To get started with our project, we will have to import two libraries: Seaborn and Pandas. Then we will set the theme for the plots.
Importing the libraries
import seaborn as sns import pandas as pd
Setting the theme
sns.set_theme() calls the default values of:
sns.set_theme(context='notebook', style='darkgrid', palette='deep', font_scale=1)
The context can be set as
The theme can be set as
The palette can be set as
The font scale can be a float greater or less than 1 (eg. 1.5 or .75) to make the font bigger or smaller.
You need to sign up for Treehouse in order to download course files.Sign up