diff --git a/gramps/gui/widgets/fanchartdesc.py b/gramps/gui/widgets/fanchartdesc.py index ecee93cb1..59b0c0f26 100644 --- a/gramps/gui/widgets/fanchartdesc.py +++ b/gramps/gui/widgets/fanchartdesc.py @@ -615,7 +615,7 @@ class FanChartDescWidget(FanChartBaseWidget): elif nrparent <= 4: angleinc = math.pi/2 else: - angleinc = 2 * math.pi / nrchild + angleinc = 2 * math.pi / nrparent for data in self.parentsroot: self.draw_innerring(cr, data[0], data[1], startangle, angleinc) startangle += angleinc