idealo / imagededup

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

problems with plotting distributions in a loop #135

Closed annamykol closed 3 years 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

Closing since it is a duplicate of #134