How to put a 3D scatter graph into the app

How can I put a 3D scatter graph into the application? I tried to do:
plt1 = px.scatter(…)
plt1

but it doesn’t work.

Hi - Welcome to the st world! As you’re using plotly, streamlit.plotly_chart should work. See the display charts API.