fixed full-screen overlapping

This commit is contained in:
mcguirepr89
2022-03-17 15:15:53 -04:00
parent 200846b466
commit 8cbad43545
+2 -1
View File
@@ -12,6 +12,7 @@ from pathlib import Path
URI_SQLITE_DB = "/home/pi/BirdNET-Pi/scripts/birds.db" URI_SQLITE_DB = "/home/pi/BirdNET-Pi/scripts/birds.db"
st.set_page_config(layout='wide')
@st.cache(hash_funcs={Connection: id}) @st.cache(hash_funcs={Connection: id})
def get_connection(path: str): def get_connection(path: str):
"""Put the connection in cache to reuse if path does not change between Streamlit reruns. """Put the connection in cache to reuse if path does not change between Streamlit reruns.
@@ -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 x=df_counts.index
y=df_counts['Com_Name'] y=df_counts['Com_Name']