diff --git a/scripts/plotly_streamlit.py b/scripts/plotly_streamlit.py
index 9117bf6..1d6b8f0 100755
--- a/scripts/plotly_streamlit.py
+++ b/scripts/plotly_streamlit.py
@@ -12,6 +12,7 @@ from pathlib import Path
URI_SQLITE_DB = "/home/pi/BirdNET-Pi/scripts/birds.db"
+st.set_page_config(layout='wide')
@st.cache(hash_funcs={Connection: id})
def get_connection(path: str):
"""Put the connection in cache to reuse if path does not change between Streamlit reruns.
@@ -90,9 +91,9 @@ fig = make_subplots(
specs= [[{"type":"xy","rowspan":2}, {"type":"polar"}], [None, {"type":"xy"}]],
subplot_titles=('Species in Date Range',
''+specie+'
'
- 'Total Detections:'+str('{:,}'.format(sum(df_counts.Time)))+'
'
- 'Max Confidence:'+str('{:.2f}%'.format(max(df2[df2['Com_Name']==specie]['Confidence'])*100))+'
'
- 'Median Confidence:'+str('{:.2f}%'.format(np.median(df2[df2['Com_Name']==specie]['Confidence'])*100))+''
+ 'Total Detections: '+str('{:,}'.format(sum(df_counts.Time)))+'
'
+ 'Max Confidence: '+str('{:.2f}%'.format(max(df2[df2['Com_Name']==specie]['Confidence'])*100))+'
'
+ 'Median Confidence: '+str('{:.2f}%'.format(np.median(df2[df2['Com_Name']==specie]['Confidence'])*100))+''
)
)
@@ -134,7 +135,7 @@ fig.update_layout(
),
)
-fig.layout.annotations[1].update(x=0.775,y=0.4, font_size=25)
+fig.layout.annotations[1].update(x=0.775,y=0.4, font_size=20)
x=df_counts.index
y=df_counts['Com_Name']