Removed resolution arg to Circle to avoid construction of a circlepolygon (deprecated)

This commit is contained in:
Arnar Flatberg 2007-02-02 12:21:19 +00:00
parent 320cd97512
commit 7eb13b14cb

View File

@ -1,4 +1,4 @@
import os,sys
import os,sys,copy
from itertools import izip
import pygtk
import gobject
@ -1074,9 +1074,9 @@ class VennPlot(Plot):
a = .5
r = 1.5
mr = .2
self.c1 = c1 = Circle((-1,0), radius=r, alpha=a, facecolor='b', resolution=res)
self.c2 = c2 = Circle((1,0), radius=r, alpha=a, facecolor='r', resolution=res)
self.c3 = c3 = Circle((0, scipy.sqrt(3)), radius=r, alpha=a, facecolor='g', resolution=res)
self.c1 = c1 = Circle((-1,0), radius=r, alpha=a, facecolor='b')
self.c2 = c2 = Circle((1,0), radius=r, alpha=a, facecolor='r')
self.c3 = c3 = Circle((0, scipy.sqrt(3)), radius=r, alpha=a, facecolor='g')
self.c1marker = Circle((-1.25, -.25), radius=mr, facecolor='y', alpha=0)
self.c2marker = Circle((1.25, -.25), radius=mr, facecolor='y', alpha=0)