Python Data Visualization Transcripts
Lecture: Streamlit running overview
0:00 Now let me walk through a few basics of a streamlit application. So as you can see, I have it running on local host ports 8501
0:10 and I have the basic plotly visualizations that we have come to know and love
0:16 in our previous examples you can do all the types of things that you can do
0:20 out of the box with plotly from your jupiter notebooks so that is really handy but there is this little menu up here at the top where you can do some
0:29 additional things. So one of the things you can do is you can rerun your
0:33 application if you need to. Now I will cover in a moment that that automatically runs for you so you probably don't have to do that a whole lot but I
0:41 want to point that out. The other thing there are some settings that you can use. One of the things that you may want to choose is whether you want
0:51 to light setting or a dark setting, I'm gonna leave it on dark, you can also edit it, you can change the wide mode so that takes up
1:00 more of the screen. You can also record a screen cast, do a few other things here, so play around with this so you get a feel for what is available.
1:09 One of the things that streamlit does for you is it takes care of when you
1:13 make changes to the file that it will automatically update here in the servers. Let me show you how that looks. So I'm gonna keep that running.
1:24 So now I'm gonna make a simple update just to the title and we'll save it and now it tells you. So streamlit knows that the source file has changed and
1:34 you can tell it to always rerun or just tell it to rerun and then it will go and rerun with those updates. One more example with no updates.
1:44 And then we'll do always rerun. We'll make another change control+s to save and now it automatically re runs and updates
1:53 So this is just a really handy thing that streamlined does behind the scenes so that it's very quick for you to do your visualization,
2:01 your development. So that will reflect the current state in your web browser.