Ipywidgets Interact Function | ipywidgets Examples of Slider, Dropdown, Checkbox, Text Box

Kimberly Fessel
Kimberly Fessel
24.4 هزار بار بازدید - 3 سال پیش - Master the ipywidgets interact function
Master the ipywidgets interact function with this tutorial.  ipywidgets is a Python library for building interactive HTML widgets for your Jupyter Notebook browser.  This video explores its interact function, which allows you to easily create Python Jupyter widgets.  Based on the data type of your argument, you can make an ipywidgets slider, ipywidgets dropdown, ipywidgets checkbox, or an ipywidgets text box using default behaviors.  This ipywidgets tutorial shows you examples of each of these widgets in the Python code.  I also show you how you can pass a custom widget to the interact function, meaning you can use whatever widget you'd like to control your function's arguments.  I demo an example of some ipywidgets radio buttons near the end of this video.  Learn how to interact with ipywidgets and get started building your own custom Python widgets!

0:00 Introduction
0:27 Interact Basics
1:14 ipywidgets Slider
3:48 ipywidgets Dropdown
4:21 Interact Defaults by Argument Data Type
4:42 ipywidgets Checkbox
5:47 ipywidget Text Box
7:35 Customize Interact
7:49 ipywidgets Radio Buttons
9:26 BLOOPERS!

GitHub CODE:
https://github.com/kimfetti/Videos/bl...

ipywidgets DOCUMENTATION:
"Using Interact" - https://ipywidgets.readthedocs.io/en/...

Related VIDEOS:
Introduction to ipywidgets - Introduction to ipywidgets | Jupyter ...
Add TEXT to Matplotlib - Add TEXT to MATPLOTLIB figures || Pyt...
Matplotlib change axes LIMITS - How to change the axes limits of a ma...

#dataviz #ipywidgets
3 سال پیش در تاریخ 1400/03/24 منتشر شده است.
24,454 بـار بازدید شده
... بیشتر