Akascape / CTkPieChart

Pie chart widget for customtkinter
MIT License
18 stars 0 forks source link

ImageFont.load_default() got an unexpected keyword argument 'size' #1

Open gamartin23 opened 5 months ago

gamartin23 commented 5 months ago

At ctk_pie_chart.py, line 82 it reads font=ImageFont.load_default(size=70)

at least in my case it didn't work and removing the argument made text one pixel tall. So i replaced it with font=ImageFont.truetype('arial.ttf',size=60) in my implementation