Seaborn: kdeplots with marginal histograms
问题 I'm using a kdeplot to plot the densities of two bivariate distributions like this, where df_c and df_n are two Pandas DataFrames: f, ax = plt.subplots(figsize=(6, 6)) sns.kdeplot(df_c['attr1'], df_c['attr2'], ax=ax, cmap='Blues', shade_lowest=False) sns.kdeplot(df_n['attr1'], df_n['attr2'], ax=ax, cmap='Reds', shade_lowest=False) I would like to also include marginal histograms like those generated by jointplot (example plot). However, I cannot use jointplot (because it is appearantly not