Index: src/django_gheat/wlheatmap/tile.py
===================================================================
--- src/django_gheat/wlheatmap/tile.py	(revision 9821)
+++ src/django_gheat/wlheatmap/tile.py	(revision 10615)
@@ -16,12 +16,4 @@
 import time
 
-# Rending with PIL and computation with numpy has proven to be to slow to be
-# usable, but is still in here for refence purposes.
-try:
-  from PIL import Image
-  import ImageDraw
-  import numpy as np
-except ImportError:
-  pass
 
 class PyGamePicture():
@@ -70,46 +62,4 @@
       pygame.draw.circle(new_surf,combined_colour,center,r,0)
     self.surf.blit(new_surf,(0,0),special_flags=pygame.BLEND_RGBA_MAX)
-
-
-class PILPicture():
-  """ Basic PIL class, allowing simple image manipulations """
-  im = None
-  def __init__(self, method, size):
-    self.im = Image.new(method, size)
-    self.data = np.array(self.im)
-
-  def write(self,fh,format='png'):
-        self.im.save(fh,format)
-
-  def make_circle(self,draw, center, radius,colour=(0,255,0)):
-    """ Cicle gradient is created by creating smaller and smaller cicles """
-    (center_x, center_y) = center
-    for i in range(0,radius):
-      draw.ellipse(
-        (center_x - radius + i,
-         center_y - radius + i,
-         center_x + radius - i,
-         center_y + radius - i
-        ),
-        colour +(255 * i/(radius * 2),)
-      )
-
-  def add_circle(self, center, radius, colour):
-    """ Adding a new cicle is a matter of creating a new one in a empty layer
-    and merging it with the current one 
-
-    XXX: Very heavy code, should actually only work on the data arrays, instead
-    of doing all the magic with high-level images """
-
-    im_new = Image.new("RGBA", self.im.size)
-    draw = ImageDraw.Draw(im_new)
-    self.make_circle(draw, center, radius, colour)
-    
-    data2 = np.array(im_new)
-    
-    # Add channels to make new images
-    self.data = self.data + data2
-    self.im = Image.fromarray(self.data)
-
 
 
