aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2019-03-08 10:57:40 +0300
committerBonfaceKilz2020-08-08 03:26:09 +0300
commit97646f40bd8bff699f9ee2721fc9c960162ad3eb (patch)
tree26f6a7bb2067addf14049bb36f3a25eb31866d25
parent6e1102e36737a3f48a74cf431819c269c54f2601 (diff)
downloadgenenetwork2-97646f40bd8bff699f9ee2721fc9c960162ad3eb.tar.gz
Replace "color" with "fill" keyword argument
* wqflask/wqflask/marker_regression/display_mapping_results.py: (DisplayMappingResults): Pillow uses 'fill' in place of 'color'.
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py
index b03902a5..9a96cd52 100644
--- a/wqflask/wqflask/marker_regression/display_mapping_results.py
+++ b/wqflask/wqflask/marker_regression/display_mapping_results.py
@@ -758,7 +758,7 @@ class DisplayMappingResults(object):
(canvas.size[0]-bootOffset,bootY)),
fill=BLACK)
im_drawer.text(xy=(canvas.size[0]-bootOffset+10,bootY+5),
- text='%2.1f'%item, font=bootScaleFont, color=BLACK)
+ text='%2.1f'%item, font=bootScaleFont, fill=BLACK)
if self.legendChecked:
startPosY = 30
@@ -770,7 +770,7 @@ class DisplayMappingResults(object):
fill=YELLOW)
im_drawer.text(xy=(leftOffset+ 20, startPosY+5),
text='Frequency of the Peak LRS',
- font=smallLabelFont, color=BLACK)
+ font=smallLabelFont, fill=BLACK)
def drawProbeSetPosition(self, canvas, plotXScale, offset= (40, 120, 80, 10), zoom = 1, startMb = None, endMb = None):
im_drawer = ImageDraw.Draw(canvas)