0

The Seaborn's saturation is 0.75 by default [1]. So, one needs to set it to 1 for every new plot. Is it possible to change this default value early on in a notebook? Similar to the dpi parameter below in matplotlib.

import seaborn as sns
import matplotlib.pyplot as plt

plt.rcParams['figure.dpi']= 150

titanic = sns.load_dataset("titanic")
sns.countplot(x="class", data=titanic)
plt.figure()
sns.countplot(x="class", data=titanic, saturation=1)

enter image description here

Reveille
  • 4,359
  • 3
  • 23
  • 46

1 Answers1

1

No, seaborn does not define any global settings beyond those in the matplotlib rcParams. But you could use default colors that are more saturated...

mwaskom
  • 46,693
  • 16
  • 125
  • 127