Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprication Warning #30

Open
abcd567a opened this issue Jun 22, 2024 · 1 comment
Open

Deprication Warning #30

abcd567a opened this issue Jun 22, 2024 · 1 comment

Comments

@abcd567a
Copy link

abcd567a commented Jun 22, 2024

When heatmap.py is run on Bookworm, there are some deprecation warnings, but it still works:

./heatmap.py scan.csv scan.png

loading
x: 4576, y: 60, z: (-35.890000, 2.820000)
drawing
labeling
/home/pi/./heatmap.py:470: DeprecationWarning: getsize is deprecated and will be removed in Pillow 10 (2023-07-01). Use getbbox or getlength instead.
  s = f.getsize(label)
/home/pi/./heatmap.py:475: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead.
  return w_img.resize((s[0]//3, s[1]//3), Image.ANTIALIAS)
saving
@by
Copy link

by commented Jun 22, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants