Correct fill colors #1942

svn: r10351
This commit is contained in:
Peter Landgren 2008-03-20 07:52:17 +00:00
parent 5918599acf
commit f7ea60bc13

View File

@ -246,7 +246,7 @@ class RelGraphReport(Report):
label = "%s (%s)" % (label, fam_id)
color = ""
fill = ""
style = ""
style = "solid"
if self.colorize == 'colored':
color = self.colors['family']
elif self.colorize == 'filled':
@ -265,12 +265,13 @@ class RelGraphReport(Report):
color = ""
fill = ""
if gender == person.MALE:
shape="box"
shape = "box"
style = "solid"
elif gender == person.FEMALE:
shape="box"
style="rounded"
shape = "box"
style = "rounded"
else:
shape="hexagon"
shape = "hexagon"
if self.colorize == 'colored':
if gender == person.MALE:
color = self.colors['male']