(feat) default initial state of the sidebar in expanded

This commit is contained in:
cardosofede
2024-05-16 13:29:13 -04:00
parent b3ea14d883
commit cdf029f365

View File

@@ -7,7 +7,8 @@ import inspect
import streamlit as st
from st_pages import add_page_title
def initialize_st_page(title: str, icon: str, layout="wide", initial_sidebar_state="collapsed"):
def initialize_st_page(title: str, icon: str, layout="wide", initial_sidebar_state="expanded"):
st.set_page_config(
page_title=title,
page_icon=icon,