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

preview_player
Показать описание
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:

ipywidgets DOCUMENTATION:

Related VIDEOS:

#dataviz #ipywidgets
Рекомендации по теме
Комментарии
Автор

I appreciate content like this so much! Before the video was even finished, potential applications were coming to mind. You really nailed it with this video. Thank you so much!

rskura
Автор

As fantastic as the bloopers are, the content was better. Thanks!

BrianTCarcich
Автор

Thank you very much. I was wondering about ipywidgets until seeing this video.

mebaysan
Автор

Omg, love you! PLEASE consider teaching us some GUI library. It would be so much easier to learn it with you.

BrunoAraujo-polm
Автор

New subscriber. Your channel looks terrific. This video is brilliant, thanks. This is the kind of customizing that takes so long to figure out via convoluted docs. You present it well. Thanks very much.

fizixx
Автор

Perfect vídeo! Thank you for clarifying this content

leonardomiguel
Автор

Great explanation . Really help in my study and understanding the library. Thank you soo much. This channel is awesome

aslamazman
Автор

Possibly I missed the benefit of using ipywidgets which is runnning in Jupyter notebook only. It is completly useless with an IDE like PyCharm, isn´t it?

ClockworkOrange
Автор

Hi, I wonder if I can use any value I chose in the widgets? For example, can I use the value of m (in your example) for another calculation?

cameroonpoe
Автор

In Visual studio ipywidgets not works, sadly.

duwir
Автор

You have a wonderful presentations, for me this is really very great in the sense that widgets are applied in a beautiful way - simple x and y functions. I can apply in my context of social science as well. Thanks.

arunregm
Автор

how did your plot update so quickly? mine looks like it's running on 2 fps

glowiever
Автор

Thanks Kim. Great video. But what if I want to put three sliders on the same graph, one controlling the slope of the line and the other two controlling the coordinates (x, y) of the line start position?

cyclopsRio
Автор

How can adjust background color and font color or style

chriskeo
Автор

Thanks a lot!
Please how can you turn ipywidget to an interactive presentation, that is, without showing the codes

Kachi
Автор

Hi, is this only possible in Jupiter notebook

naveenchoudhary
Автор

Thank You Kimberly for this tutorial. I find it useful for my day to day work. Could you please also touch upon how I may embed the widget and the data that is being controlled into an html format. In may case I am working on a dataset and would like to explore the possibility to make an interactive html report.

rahulchandran
Автор

The slider is easy but for some reason I just can't get the Button to work - and it's the Last thing mentioned anywhere, if at all.

cybervigilante
Автор

Please mam continue the
Please please please

G_a_n_d_u
Автор

FYI - azure data studio doesn't work with ipywidgets

chriskeo