Skip to content

Deprication Warning #30

@abcd567a

Description

@abcd567a

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions