Вы должны использовать subplot
, чтобы построить несколько графиков на одной фигуре. Надеюсь, вам поможет следующий пример:
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline
plt.figure(figsize=(10,10))
titanic = sns.load_dataset("titanic")
numeric_variables = list(titanic.select_dtypes('int64').columns)
for i, c in enumerate(numeric_variables, 1):
plt.subplot(2,2,i)
g = sns.boxplot(x=c, y="fare",data=titanic)
![enter image description here](https://i.stack.imgur.com/k7D8a.png)