Skip to content
Snippets Groups Projects
Commit 4be65dfa authored by nfontrod's avatar nfontrod
Browse files

src/gc_content/gc_content.py: removal of the palette color

parent 392a5d24
No related branches found
No related tags found
No related merge requests found
Pipeline #264 passed with warnings
...@@ -151,9 +151,10 @@ def make_gc_barplot(df: pd.DataFrame, outfile: Path, environment: int, ...@@ -151,9 +151,10 @@ def make_gc_barplot(df: pd.DataFrame, outfile: Path, environment: int,
p_vals = make_stat(df) p_vals = make_stat(df)
if environment != 0: if environment != 0:
g = sns.catplot(x="location", y="gc_content", hue="region", data=df, g = sns.catplot(x="location", y="gc_content", hue="region", data=df,
aspect=1.77, height=12, kind="violin", aspect=1.77, height=12, kind="violin")
palette={"readthrough_ctcf": "orange", # palette={"readthrough_ctcf": "orange",
"readthrough": "#13791C", "no_readthrough": "#B6B6B6"}) # "readthrough": "#13791C",
# "no_readthrough": "#B6B6B6"})
add_stat_annotation(g.ax, data=df, x="location", y="gc_content", add_stat_annotation(g.ax, data=df, x="location", y="gc_content",
hue="region", hue="region",
loc='inside', loc='inside',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment