Skip to content

Commit

Permalink
Avoid graph too big in very large screens
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Oct 31, 2024
1 parent 6be96f9 commit dbcb3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utils/interactive_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def create_plotly_heatmap(df_birds, now):
# In HTML string:
html_str = f"""
<style>.modebar-container {{ display: none !important; }}</style>
<div class='chart-container' style='position: relative; width: 80%; margin: 0 auto;'>
<div class='chart-container' style='position: relative; max-width: 1000px; width: 98%; margin: 0 auto;'>
<div style='position: absolute; bottom: 10px; left: 10px; z-index: 10;'>
<select id='sortOptions' style='margin-left: 5px; padding: 5px; font-size: 14px; background-color: rgba(255, 255, 255, 0.5);
color: #333; border: none; border-radius: 3px;'>
Expand Down

0 comments on commit dbcb3e7

Please sign in to comment.