Matplotlib - adding legend, xticks, etc

Hello - I apologize if this is previously answered somewhere- I could not find it in the use instructions or by searching the forum - I have successfully created a plot in pyplot but cannot figure out how to get my legend, title, xticks, yticks, etc. to show up on the graph. Currently coded in the usual plt.title(), plt.xlabel(), plt.legend(), etc. format that works in Jupyter Lab. Does anyone know how to accomplish this on streamlit? Thank you!

This is not related to streamlit. You can search matplotlib legend, matplotlib title etc in google and you will find tons of stuff.