import seaborn as sns
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
m = pd.DataFrame({'x': ['1', '1', '2', '2', '13', '13'], 'y': np.random.
    randn(6)})
facet = sns.factorplot('x', 'y', data=m)
facet.set(axis_bgcolor='k')
plt.show()
Настройка цвета фона графика в Seaborn