I found this approach to replace content and it works fine:
viewer = st.image(something) # some callback, e.g. MQTT def func(something_else): viewer.image(something_else)
But I could not find anything about the return values of e.g.
st.line_chart and the logic behind this in the doc.
Why does it work?