-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi Klest,
The package ran smoothly, except one error when plotting combo plots (paste_combo_image.py -> render_title). I had to change the code in order to run:
def render_title(combo_width, title, image_dpi_res, font_size=36, title_padding=20):
font_size = round(font_size * (image_dpi_res / 72))
# font = ImageFont.truetype("arial.ttf", font_size)
# set default font if arial.ttf not found
try:
font = ImageFont.truetype("arial.ttf", font_size)
except Exception:
font = ImageFont.load_default()
print("Could not load 'arial.ttf'. Using default font.")Best,
TingTing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels