From 4be65dfac2ec97158c1a14c34425ce70badef2d6 Mon Sep 17 00:00:00 2001 From: Fontrodona Nicolas <nicolas.fontrodona@ens-lyon.fr> Date: Thu, 12 Aug 2021 18:12:40 +0200 Subject: [PATCH] src/gc_content/gc_content.py: removal of the palette color --- src/gc_content/gc_content.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gc_content/gc_content.py b/src/gc_content/gc_content.py index 5917249..3a94862 100644 --- a/src/gc_content/gc_content.py +++ b/src/gc_content/gc_content.py @@ -151,9 +151,10 @@ def make_gc_barplot(df: pd.DataFrame, outfile: Path, environment: int, p_vals = make_stat(df) if environment != 0: g = sns.catplot(x="location", y="gc_content", hue="region", data=df, - aspect=1.77, height=12, kind="violin", - palette={"readthrough_ctcf": "orange", - "readthrough": "#13791C", "no_readthrough": "#B6B6B6"}) + aspect=1.77, height=12, kind="violin") + # palette={"readthrough_ctcf": "orange", + # "readthrough": "#13791C", + # "no_readthrough": "#B6B6B6"}) add_stat_annotation(g.ax, data=df, x="location", y="gc_content", hue="region", loc='inside', -- GitLab