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

Fix : heatmap for maxconf #226

Merged
merged 3 commits into from
Nov 9, 2024
Merged

Conversation

alexbelgium
Copy link

Hi, while playing with the daily plot, I found what I think is a bug.

The heatmap does not show the maxconf of a species (as the code indicates should be) but the confidence of the latest detection. If we build a dictionary first it solves the issue and only show the max confidence

For example my troglodyte is at max conf of 100% for that day.

Before :
image

After :
image

@Nachtzuster
Copy link
Owner

I guess so? I can't say I understand daily_plot.py very well 😄

@Nachtzuster Nachtzuster merged commit 071f60a into Nachtzuster:main Nov 9, 2024
1 check passed
@alexbelgium alexbelgium deleted the patch-1 branch November 9, 2024 16:22
@alexbelgium
Copy link
Author

Thanks! Ahah I don't understand it that much either but I had noticed that the colors where changing too often for what should be a max conf... I did some trials and errors until I found the way that had the expected bahavior with the minimum code change...

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

Successfully merging this pull request may close these issues.

2 participants