aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2019-03-09 09:06:20 +0300
committerBonfaceKilz2020-08-08 03:26:09 +0300
commit882d8425d62bafdad653b1d939af6cfefb6cc66d (patch)
tree5b8102e69f8960ae8226fb8dc942306a75189d08 /wqflask
parent5a19179f0b93a80a4c6cc22eb81c0395e1879026 (diff)
downloadgenenetwork2-882d8425d62bafdad653b1d939af6cfefb6cc66d.tar.gz
Give rectangles black outlines
* wqflask/wqflask/marker_regression/display_mapping_results.py: Give the rectangles black outlines to correspond to earlier drawings.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py
index b754662f..6cac51ee 100644
--- a/wqflask/wqflask/marker_regression/display_mapping_results.py
+++ b/wqflask/wqflask/marker_regression/display_mapping_results.py
@@ -728,7 +728,7 @@ class DisplayMappingResults(object):
im_drawer.rectangle(
xy=((item[0], yZero),
(item[1], yZero - item[2]*bootHeightThresh/maxBootCount)),
- fill=self.BOOTSTRAP_BOX_COLOR)
+ fill=self.BOOTSTRAP_BOX_COLOR, outline=BLACK)
###draw boot scale
highestPercent = (maxBootCount*100.0)/nboot
@@ -741,7 +741,7 @@ class DisplayMappingResults(object):
im_drawer.rectangle(
xy=((canvas.size[0]-bootOffset, yZero-bootHeightThresh),
(canvas.size[0]-bootOffset-15*zoom,yZero)),
- fill = YELLOW)
+ fill = YELLOW, outline=BLACK)
im_drawer.line(
xy=((canvas.size[0]-bootOffset+4, yZero),
(canvas.size[0]-bootOffset, yZero)),
@@ -767,7 +767,7 @@ class DisplayMappingResults(object):
leftOffset = xLeftOffset+(nCol-1)*200
im_drawer.rectangle(
xy=((leftOffset,startPosY-6), (leftOffset+12,startPosY+6)),
- fill=YELLOW)
+ fill=YELLOW, outline=BLACK)
im_drawer.text(xy=(leftOffset+ 20, startPosY+5),
text='Frequency of the Peak LRS',
font=smallLabelFont, fill=BLACK)
@@ -937,7 +937,7 @@ class DisplayMappingResults(object):
im_drawer.rectangle(
xy=((rightShift,yPaddingTop+kstep*15),
(rectWidth+rightShift,yPaddingTop+10+kstep*15)),
- fill=thisLRSColor)
+ fill=thisLRSColor, outline=BLACK)
im_drawer.text(
text=name,xy=(rectWidth+2+rightShift,yPaddingTop+10+kstep*15),
font=colorFont,fill=BLACK)