Тёмный

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

Kimberly Fessel
Подписаться 20 тыс.
Просмотров 24 тыс.
50% 1

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:
github.com/kimfetti/Videos/bl...
ipywidgets DOCUMENTATION:
"Using Interact" - ipywidgets.readthedocs.io/en/...
Related VIDEOS:
Introduction to ipywidgets - • Introduction to ipywid...
Add TEXT to Matplotlib - • Add TEXT to MATPLOTLIB...
Matplotlib change axes LIMITS - • How to change the axes...
#dataviz #ipywidgets

Наука

Опубликовано:

 

6 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@KimberlyFessel
@KimberlyFessel 3 года назад
To get started with ipywidgets, be sure to catch my "Introduction to ipywidgets" video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-wb6k_T4rKBQ.html
@rskura
@rskura 3 года назад
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!
@KimberlyFessel
@KimberlyFessel 3 года назад
Oh that's wonderful! Very happy to hear that you have been able to think of ways to apply this content - cheers!
@fizixx
@fizixx Год назад
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.
@ep5acg
@ep5acg 2 года назад
loved the outtakes at the end!
@mebaysan
@mebaysan 2 года назад
Thank you very much. I was wondering about ipywidgets until seeing this video.
@cyclopsRio
@cyclopsRio 2 года назад
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?
@leonardomiguel1943
@leonardomiguel1943 Год назад
Perfect vídeo! Thank you for clarifying this content
@cameroonpoe
@cameroonpoe 2 года назад
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?
@pomfrittbroccoli
@pomfrittbroccoli 10 месяцев назад
Very good! Thank you!
@aslamazman7892
@aslamazman7892 3 года назад
Great explanation . Really help in my study and understanding the library. Thank you soo much. This channel is awesome
@KimberlyFessel
@KimberlyFessel 3 года назад
You are most welcome! Glad to hear you are enjoying my channel 😄
@MrArgmi
@MrArgmi 3 года назад
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.
@KimberlyFessel
@KimberlyFessel 3 года назад
Very glad to hear you have ideas for applying the widgets to social science - happy to help!
@BrianTCarcich
@BrianTCarcich 2 года назад
As fantastic as the bloopers are, the content was better. Thanks!
@renatocorreaarrieche
@renatocorreaarrieche Год назад
Você é um anjo. Thank you very much
@Kachi246
@Kachi246 2 года назад
Thanks a lot! Please how can you turn ipywidget to an interactive presentation, that is, without showing the codes
@BrunoAraujo-po2lm
@BrunoAraujo-po2lm 3 года назад
Omg, love you! PLEASE consider teaching us some GUI library. It would be so much easier to learn it with you.
@KimberlyFessel
@KimberlyFessel 3 года назад
🙌 Thanks much for the suggestion and compliment! Cheers 😃
@tuandino6990
@tuandino6990 2 года назад
Nice explanation
@paulo.galvao
@paulo.galvao 2 года назад
thanks for your work...
@KimberlyFessel
@KimberlyFessel 2 года назад
Most welcome - cheers!
@glowiever
@glowiever 2 года назад
how did your plot update so quickly? mine looks like it's running on 2 fps
@RocioGonzalezMeza
@RocioGonzalezMeza 3 года назад
Loved this tutorial 😍
@KimberlyFessel
@KimberlyFessel 3 года назад
Why thank you! 😄
@RocioGonzalezMeza
@RocioGonzalezMeza 3 года назад
@@KimberlyFessel you explained thing neatly and simple. I used this library to display the results in my research where a parameter showed a transition. Worked perfectly with subplots :)
@rahulchandran3906
@rahulchandran3906 3 года назад
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.
@rahulchandran3906
@rahulchandran3906 3 года назад
Just also to add that Im developing my python code from the PyCharm IDE
@KimberlyFessel
@KimberlyFessel 2 года назад
Love this suggestion! I am definitely planning to do a video about exporting and embedding ipywidgets in the future!
@11ClockworkOrange11
@11ClockworkOrange11 2 года назад
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?
@abhishekdodda5641
@abhishekdodda5641 Год назад
Nice
@naveenchoudhary2675
@naveenchoudhary2675 2 года назад
Hi, is this only possible in Jupiter notebook
@chriskeo392
@chriskeo392 Год назад
How can adjust background color and font color or style
@rubenandresservin1825
@rubenandresservin1825 2 года назад
Muy bueno!
@KimberlyFessel
@KimberlyFessel 2 года назад
Gracias! 😄
@duwir5959
@duwir5959 Год назад
In Visual studio ipywidgets not works, sadly.
@G_a_n_d_u
@G_a_n_d_u 2 года назад
Please mam continue the playlist..... Please please please
@BrunoAraujo-po2lm
@BrunoAraujo-po2lm 3 года назад
Could you pleaaaase also teach us how to compile this code into an executable program from Jupyter Labs.
@KimberlyFessel
@KimberlyFessel 3 года назад
Oh interesting! Thanks for the suggestion!
@cybervigilante
@cybervigilante Месяц назад
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.
@KimberlyFessel
@KimberlyFessel 27 дней назад
Thanks for the feedback! I’ll keep that one in mind for future videos 👍
@chriskeo392
@chriskeo392 Год назад
FYI - azure data studio doesn't work with ipywidgets
@ujjwalchetan4907
@ujjwalchetan4907 23 дня назад
I can only see your zoomed in face as the result of interactive widget. 😅
@KimberlyFessel
@KimberlyFessel 22 дня назад
I do love a good talking head segment! 😆
Далее
Strawberry Cat?! 🙀 #cat #cute #catlover
00:42
Просмотров 3,6 млн
Seaborn Is The Easier Matplotlib
22:39
Просмотров 162 тыс.
Make Videos Like 3Blue1Brown | Manim
9:32
Просмотров 151 тыс.
Python Introduction to Panel Widgets & Dashboards
13:09
7 Python Data Visualization Libraries in 15 minutes
15:03
Create GUI apps in Jupyter using ipywidgets
7:39
Просмотров 52 тыс.
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Animations With matplotlib
18:49
Просмотров 40 тыс.
PA-RISC рабочая станция HP Visualize
41:27