aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/snp_browser/snp_browser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/snp_browser/snp_browser.py b/wqflask/wqflask/snp_browser/snp_browser.py
index 73ab8798..1d28d76a 100644
--- a/wqflask/wqflask/snp_browser/snp_browser.py
+++ b/wqflask/wqflask/snp_browser/snp_browser.py
@@ -3,7 +3,7 @@ from __future__ import absolute_import, print_function, division
from flask import Flask, g, url_for
import string
-import piddle as pid
+from PIL import (Image)
from utility.logger import getLogger
logger = getLogger(__name__ )
@@ -629,7 +629,7 @@ class SnpBrowser(object):
canvas_width = 900
canvas_height = 200
- snp_canvas = pid.PILCanvas(size=(canvas_width, canvas_height))
+ snp_canvas = Image.new("RGBA", size=(canvas_width, canvas_height))
left_offset, right_offset, top_offset, bottom_offset = (30, 30, 40, 50)
plot_width = canvas_width - left_offset - right_offset
plot_height = canvas_height - top_offset - bottom_offset