Skip to content
Snippets Groups Projects
Commit 87282c96 authored by Mayr, Hannes's avatar Mayr, Hannes
Browse files

Make pylint happy.

parent 7ab093a0
No related branches found
No related tags found
2 merge requests!74Resolve "'ImageDraw' object has no attribute 'textsize'",!73Small documentation improvements and dependency updates
Pipeline #1064367 passed
......@@ -92,7 +92,7 @@ def tagplot_image(plotid_object: PlotOptions) -> PlotIDTransfer:
if plotid_object.qrcode:
qrcode = create_qrcode(img_id)
qrcode.thumbnail(
(plotid_object.qr_size, plotid_object.qr_size), Image.LANCZOS
(plotid_object.qr_size, plotid_object.qr_size), Image.Resampling.LANCZOS
)
img.paste(
qrcode,
......
......@@ -75,7 +75,7 @@ def tagplot_matplotlib(plotid_object: PlotOptions) -> PlotIDTransfer:
if plotid_object.qrcode:
qrcode = create_qrcode(fig_id)
qrcode.thumbnail(
(plotid_object.qr_size, plotid_object.qr_size), Image.LANCZOS
(plotid_object.qr_size, plotid_object.qr_size), Image.Resampling.LANCZOS
)
fig.figimage(
qrcode,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment