'Draw a Pie Chart
- used by the Survey module'

def survey_pie(self, title, data, label):

    fig = self.fig
    if (not fig):
        return 'Matplotlib    not    installed'
    ax = fig.add_subplot(111)
    ax.pie(data, labels=label)
    ax.legend()
    ax.set_title(title)
