import seaborn as sns
import matplotlib.pyplot as plt
sns.set()
flights = sns.load_dataset('flights')
flights = flights.pivot('month', 'year', 'passengers')
g = sns.clustermap(flights)
Add custom border to certain cells in a matplotlib / seaborn plot