idealo / imagededup

😎 Finding duplicate images made easy!
https://idealo.github.io/imagededup/
Apache License 2.0
5.15k stars 455 forks source link

Problems with plotting duplicates in loop #134

Closed annamykol closed 1 year ago

annamykol commented 3 years ago

If plotting duplicates in a loop the axes are not updated. So, if on the next image the number of the duplicates is less, than the previous one, it will contain the axes from the previous image. Unfortunately, I can't provide examples due to NDA. To solve this bug, you should change fig = figure.Figure(figsize=(10, 14)) to fig, ax = plt.subplots(figsize=(10, 14))

tanujjain commented 3 years ago

Is your issue same as #100 ? If yes, it has been fixed in the dev branch and will be part of the next release.