Вы можете использовать row_order
и col_order
:
from sklearn.datasets import load_iris
import pandas as pd
import seaborn as sns
import numpy as np
import matplotlib.pyplot as plt
data = load_iris()
df = pd.DataFrame(data.data, columns=['sepal.length','sepal.width','petal.length','petal.width'])
df['species'] = data.target
df['subset'] = np.random.choice(['A','B','C'],150,replace=True)
g = sns.FacetGrid(df, col="species", col_order=[0,2,1],row="subset",row_order=['C','B','A'])
g = g.map(plt.scatter, "sepal.length", "sepal.width")