Moving from matplotlib to pillow for score

This commit is contained in:
2026-03-15 23:57:14 +01:00
parent f43c296e8a
commit e703662d9e
3 changed files with 7 additions and 8 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ import img2pdf
from reportlab.pdfgen import canvas
# Fix for Matplotlib in threads: Set backend to non-interactive 'Agg'
# import matplotlib
# matplotlib.use('Agg')
import matplotlib
matplotlib.use('Agg')
from PIL import Image, ImageDraw, ImageFont
import annotating