Commit c42b5b32 authored by Erwan DELAGE's avatar Erwan DELAGE
Browse files

Fix evolution nb reads plot size

parent 8cf71f2c
......@@ -2,6 +2,7 @@ import pandas as pd
import seaborn as sns
import sys
import json
import matplotlib.pyplot as plt
OUTDIR = sys.argv[1]
CONFIG = sys.argv[2]
......@@ -73,7 +74,9 @@ stats_plot["sample_id"] = stats_plot.index
stats_plot = pd.melt(stats_plot, id_vars="sample_id", value_vars=steps)
stats_plot.columns = ["sample_id", "processing_step", "nb_reads"]
nb_reads_boxplot = sns.boxplot(x="processing_step", y="nb_reads", data=stats_plot)
fig_dims = (15, 6)
fig, ax = plt.subplots(figsize=fig_dims)
nb_reads_boxplot = sns.boxplot(x="processing_step", y="nb_reads", ax = ax, data=stats_plot)
# Export plot
nb_reads_boxplot.figure.savefig(OUTDIR + "/summarize_table/plots/evolution_nbreads.svg")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment