From 97646f40bd8bff699f9ee2721fc9c960162ad3eb Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Fri, 8 Mar 2019 10:57:40 +0300 Subject: Replace "color" with "fill" keyword argument * wqflask/wqflask/marker_regression/display_mapping_results.py: (DisplayMappingResults): Pillow uses 'fill' in place of 'color'. --- wqflask/wqflask/marker_regression/display_mapping_results.py | 4 ++-- 1 file 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) -- cgit v1.2.3