Commit 557112ba authored by Marcel Henrik Schubert's avatar Marcel Henrik Schubert
Browse files

fixed fig dimensions for gender featureplot

parent ff826e67
......@@ -899,7 +899,7 @@ def plotter(subsets, subana, phases, labels):
ind[i] = ind[i].encode('unicode-escape')
df = pd.DataFrame({'gender (positive: male)': coef} , index = ind)
f,ax = plt.subplots(figsize=(18, len(ind)/10))
f,ax = plt.subplots(figsize=(10, 10))
sns.heatmap(df, fmt= '.1f',ax=ax, center = 0, yticklabels = True)
f.savefig(savedir+'featureplots/features_heat_{}_{}_{}.pdf'.format(st, an, label))
f.savefig(savedir+'featureplots/features_heat_{}_{}_{}.png'.format(st, an, label))
......
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