![]() Creating a WidgetĪ widget can be created really easily. In this tutorial we will create the widgets directly and learn more about how they work. We looked briefly at how to create widgets using the interact and interactive functions in the previous article. The widgets synchronize stateful and stateless information between Python and Javascript. If you haven't, then let's just take a second to define what they are for.Ī widget is used to create an interactive graphical user interface for your user. If you have ever created a user interface in the past, then you probably already understand what a widget is. Or you can run the following code in your Notebook: For a full list you can check out the documentation. We won't cover every type of widget in this article, but we will get to see a fairly wide range of them in action. Jupyter supports a fairly wide array of widgets including the following: What are Jupyter widgets? A widget is an "eventful python object" that in the case of Jupyter Notebook, resides in the browser and is a user interface element, such as a slider or textbox.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |