【发布时间】:2021-11-22 12:47:07
【问题描述】:
我想改变照片中白色部分的颜色
代码:
fig = matplotlib.figure.Figure(figsize=(2,1.5))
ax = fig.add_subplot(111)
ax.pie([100 , a])
circle=matplotlib.patches.Circle( (0,0), 0.7, color='#171717')
ax.add_artist(circle)
canvas = FigureCanvasTkAgg(fig, master=App )
canvas.get_tk_widget().place(x = 250 , y = 150)
canvas.draw()
【问题讨论】:
标签: python matplotlib tkinter