From 99ee1defcddc146379ef20020a4ecb74b8547bdc Mon Sep 17 00:00:00 2001 From: Yiming Quince Qu <57242693+whatever60@users.noreply.github.com> Date: Tue, 13 Jun 2023 11:48:18 +0800 Subject: [PATCH] Postional to keyword argument in sns.scatterplot in plot_utils.py --- tangram/plot_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tangram/plot_utils.py b/tangram/plot_utils.py index 288022e..47f96b8 100644 --- a/tangram/plot_utils.py +++ b/tangram/plot_utils.py @@ -676,7 +676,7 @@ def plot_auc(df_all_genes, test_genes=None): plt.figure(figsize=(6, 5)) plt.plot(pol_xs, pol_ys, c='r') - sns.scatterplot(xs, ys, alpha=0.5, edgecolors='face') + sns.scatterplot(x=xs, y=ys, alpha=0.5, edgecolors='face') plt.xlim([0.0, 1.0]) plt.ylim([0.0, 1.0])