From: preecej Date: Tue, 15 Apr 2014 19:06:55 +0000 (+0000) Subject: diagram conditional size adjustment X-Git-Url: http://gitweb.planteome.org/?a=commitdiff_plain;h=27d0d21e8be99f6412c5340bae84e70b11e19c2f;p=old-jaiswallab-svn%2F.git diagram conditional size adjustment svn path=/; revision=575 --- diff --git a/Personnel/preecej/python_singletons/incomparanoid.py b/Personnel/preecej/python_singletons/incomparanoid.py index 62c0a3e..1292f6b 100755 --- a/Personnel/preecej/python_singletons/incomparanoid.py +++ b/Personnel/preecej/python_singletons/incomparanoid.py @@ -299,7 +299,7 @@ def generate_venn(venn_data, list_coverage, colors, is_ref, ref_species, proj_sp #---------------------------------------------------------------------------------------------------------------------- """build and display Venn diagrams representing reference loci overlap""" - plt.figure(figsize=(9, 9)) + plt.figure(figsize=(9, 9 if is_ref else 8)) if is_ref : intersection_loci = len(venn_data[0] & venn_data[1])