From 27d0d21e8be99f6412c5340bae84e70b11e19c2f Mon Sep 17 00:00:00 2001 From: preecej Date: Tue, 15 Apr 2014 19:06:55 +0000 Subject: [PATCH] diagram conditional size adjustment svn path=/; revision=575 --- Personnel/preecej/python_singletons/incomparanoid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.34.1