есть код
# -*- coding: cp1251 -*-
from pylab import *
# make a square figure and axes
ax = axes([0.1, 0.1, 0.8, 0.8])
labels = ('Bogs', 'Hogs', 'Dogs', 'Logs')
fracs = [15,30,45, 10]
explode=(0, 0.05, 0, 0)
pie(fracs, explode=explode, labels=labels, autopct='%1.1f%%', shadow=True, colors=('b', 'g', 'r', 'c', 'm', 'y', 'k', 'w'))
title(u'Название', fontname ='Times New Roman', bbox={'facecolor':'0.8', 'pad':5})
show()