From 09a80c440daeda7f33cb1930cbff964a012bf5b6 Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 21 Oct 2020 15:36:42 -0500 Subject: Ensured all Y axis ticks in the mapping figure are below the top of the figure, but it would probably be ideal to scale things such that the top tick is at the top of the figure * wqflask/wqflask/marker_regression/display_mapping_results.py - Set LRS_LOD_Max (the top tick value) as the maximum value between the significant value (if permutations are used) and the max LRS/LOD value; previously it would set it as the significant value * 1.1 if the significant value exists and is higher than the max LRS/LOD value. --- wqflask/wqflask/marker_regression/display_mapping_results.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py index 79266df2..a74f87bd 100644 --- a/wqflask/wqflask/marker_regression/display_mapping_results.py +++ b/wqflask/wqflask/marker_regression/display_mapping_results.py @@ -2074,9 +2074,7 @@ class DisplayMappingResults(object): pass if self.permChecked and self.nperm > 0 and not self.multipleInterval: - if self.significant > LRS_LOD_Max: - LRS_LOD_Max = self.significant * 1.1 - #LRS_LOD_Max = max(self.significant, LRS_LOD_Max) + LRS_LOD_Max = max(self.significant, LRS_LOD_Max) else: LRS_LOD_Max = 1.15*LRS_LOD_Max -- cgit v1.2.3