hey assistent I have this in a streamlit project st.markdown( "<h1…
- User
hey assistent I have this in a streamlit project st.markdown( " Graphe Decel One Pedal du CDC ", unsafe_allow_html=True, ) y_lim = 2 * DMAX p = figure(plot_width=800, plot_height=400, y_range=(y_lim, -y_lim)) with some sidebars on the left of the project. My problem is that the figure is to far to the right of the screen, I want it to be more on the left so I can make the figure bigger
- Assistant
To adjust the positioning and size of your figure in a Streamlit app, you can use Streamlit's layout capabilities. Here’s a way to achieve what you want:
-
Columns Layout: Use Streamlit’s
columnsorbeta_columns(depending on your Streamlit version) to create a layout where you can control the space allocation for different elements. -
Adjust Widths: Allocate columns with different relative widths to adjust the placement and size of your figure.
-