Skip to content

Commit

Permalink
Update interactive_plot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Nov 29, 2024
1 parent 2480e36 commit d2fffba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/utils/interactive_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ def add_annotations(text_array, text_colors, col, species_list, all_hours, annot

def create_plotly_heatmap(df_birds, now):
"""Creates a Plotly heatmap with annotations based on bird detection data."""

load_fonts()

main_title = f"Hourly Overview Updated at {now.strftime('%Y-%m-%d %H:%M:%S')}"
subtitle = f"({df_birds['Com_Name'].nunique()} species today; {len(df_birds)} detections today)"

Expand Down

0 comments on commit d2fffba

Please sign in to comment.