use_container_width will be removed after 2025-12-31.
For use_container_width=True, use width='stretch'. For use_container_width=False, use width='content' or specify an integer width.
2025-12-21 10:40:09.580 Please replace use_container_width with width.
It doesn't give a favourable view of the state of Streamlit to newcomers if the first app they are using gives error messages.
Env.:
W11
Python 3.13.11
Streamlit 1.52.2
use_container_widthwill be removed after 2025-12-31.For
use_container_width=True, usewidth='stretch'. Foruse_container_width=False, usewidth='content'or specify an integer width.2025-12-21 10:40:09.580 Please replace
use_container_widthwithwidth.It doesn't give a favourable view of the state of Streamlit to newcomers if the first app they are using gives error messages.
Env.:
W11
Python 3.13.11
Streamlit 1.52.2