Introduction to ipywidgets | Jupyter Widgets Introduction | What is ipywidgets with an example

Поділитися
Вставка
  • Опубліковано 8 лип 2024
  • In this tutorial video, we'll learn about ipywidgets, a Python library for building interactive HTML widgets for your Jupyter browser. We begin by answering, "What is ipywidgets?" Also called Jupyter Widgets or Widgets for short, ipywidgets help students with interactive learning and help researchers understand their model parameters. We then talk about how you can install ipywidgets and get started importing the library and building a basic integer slider (IntSlider). I show you how to display the widget and various properties of the IntSlider. Next we move on to an example from my UA-cam channel: a KDE bandwidth widget. I show you how to link up your seaborn or matplotlib figures with ipywidgets to explore various parameters with a Jupyter Widgets interactive plot. We end by talking about other widgets you can make, such as check boxes, drop downs, date pickers, animations, and more.
    0:00 Introduction
    0:22 What is ipywidgets?
    0:50 Installing ipywidgets
    1:09 ipywidgets IntSlider Basics
    3:17 KDE Widget Example
    7:36 Other Widgets
    GitHub CODE:
    github.com/kimfetti/Videos/bl...
    ipywidgets DOCUMENTATION:
    ipywidgets.readthedocs.io/en/...
    Related VIDEOS:
    Seaborn KDEplot - • What is kernel density...
    Matplotlib change axes LIMITS - • How to change the axes...
    #dataviz #ipywidgets
  • Наука та технологія

КОМЕНТАРІ • 45

  • @KimberlyFessel
    @KimberlyFessel  3 роки тому +4

    Ready to learn about more ipywidgets? 🤓 Check out my video on the ipywidgets interact function to see dropdowns, checkboxes, and text boxes: ua-cam.com/video/vtC5laIgMJc/v-deo.html

  • @netrakumarmanandhar3996
    @netrakumarmanandhar3996 2 роки тому +1

    Extremely helpful. Thank you for this video.

  • @bac9982
    @bac9982 3 роки тому +2

    Wow! I often find videos online more difficult for beginners to understand due to the presenter grossly over complicating things. Your video was so well laid out and easy to take in that I will be sharing it with all of my new incoming Data Analysts. Thank you for sharing your knowledge with the world!

    • @KimberlyFessel
      @KimberlyFessel  3 роки тому +1

      Oh fantastic! So glad to hear you have found my videos helpful for beginners. I try to keep things as simple as possible. Thanks very much for the recommendation!!

  • @vitorribeirosa
    @vitorribeirosa Рік тому

    Thanks, Kimberly!!!
    This video helped me a lot in a recent presentation at work!!!
    Cheers!!!

  • @christopherbeddoe406
    @christopherbeddoe406 Рік тому +1

    Just starting on Python. very interesting IDEs out there for programing compared to what I'm used to. Might be very interesting.

  • @JesumMichael
    @JesumMichael 2 роки тому

    Thank you! Very helpful

  • @stefanodelfiore2314
    @stefanodelfiore2314 Рік тому

    Very useful, thank you very much !

  • @maaikevreugdemaker9210
    @maaikevreugdemaker9210 11 місяців тому

    This was very intuitive thank you

  • @pini5076
    @pini5076 Рік тому

    Thank you!

  • @datascience8775
    @datascience8775 2 роки тому +1

    great content

  • @rohitagrawal9587
    @rohitagrawal9587 2 роки тому

    Thank you KF!!

  • @alessandradeassisbarbosa6587
    @alessandradeassisbarbosa6587 3 роки тому

    Amazing!! Thanks for sharing your knowledge with us.

  •  2 роки тому

    thanks for this video! very clear and well explained!

    • @KimberlyFessel
      @KimberlyFessel  2 роки тому

      Most welcome - glad to hear it was helpful!

  • @puhozavrik
    @puhozavrik 3 роки тому

    That's genius! Thank you ❤️

  • @ekaterinavolkova4348
    @ekaterinavolkova4348 Рік тому

    I like your videos so much

  • @SunnyArya-sb4dk
    @SunnyArya-sb4dk Рік тому

    very helpful, subscribed channel

  • @VictorViera
    @VictorViera 2 роки тому

    Thanks, gracias

  • @lucasheredia4377
    @lucasheredia4377 2 роки тому

    Thanks for sharing this!

  • @arslanrozyjumayev8484
    @arslanrozyjumayev8484 Рік тому

    May Lord give you physical and mental health, may he make you become even more amazing than you are now!!!!!, Amen, YOUR VIDEOS ARE AMAZING, GOD BLESS YOU!

  • @perstattin
    @perstattin 3 роки тому +2

    Nice tutorial. It would be great if you could do similar tutorials on interactive plots in e.g. plotly exp. Or a comparison video. Having mastered the basics of seaborn I'm still confused by all the libraries for interactive plots.

    • @KimberlyFessel
      @KimberlyFessel  3 роки тому +2

      Awesome - thanks for the suggestion! I have been considering doing a Plotly series for quite some time now. Just need to sit down and get to working on it 😄 Glad to hear there would be some interest there!

  • @LudwigLf
    @LudwigLf Місяць тому

    It´s a pretty well done explanation, thank you! :)

  • @kensupermacy
    @kensupermacy 3 роки тому +1

    thank you for teaching me👍

  • @BrunoAraujo-po2lm
    @BrunoAraujo-po2lm 3 роки тому

    Interaction! YESSSS!

  • @mahmoodhonarvar3520
    @mahmoodhonarvar3520 Рік тому

    Perfecto

  • @rohitagrawal9587
    @rohitagrawal9587 2 роки тому

    I have one question...can we open GUI like pygame window using jupyter notebook?

  • @marc_arias7513
    @marc_arias7513 9 місяців тому

    thank you so much, for your videos , Do you know how to use voila in Jupyter notebook ?

  • @perryliu6573
    @perryliu6573 3 роки тому

    Hello Kim,
    Just wondering how do you collapse the cell? Which library do you use? Thank you!

    • @KimberlyFessel
      @KimberlyFessel  3 роки тому

      To collapse the cells in Jupyter? If yes, I installed nbextensions ( jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.html ) which allows for additional functionality in Jupyter Notebook. Those dropdowns are an extension called "Collapsible Headings" ( jupyter-contrib-nbextensions.readthedocs.io/en/latest/nbextensions/collapsible_headings/readme.html ).

  • @nsnilesh604
    @nsnilesh604 2 роки тому

    How can we see data on charts when we hovering through mouse

  • @arshad1781
    @arshad1781 3 роки тому

    thanks

  • @gringolazaro3303
    @gringolazaro3303 3 роки тому

    Thanks,l remember asking😅

  • @loeschbart
    @loeschbart 2 роки тому

    Hi everyone,
    Is there a possibility to change the label on the widget to another then the name of the variable used ?
    And how ?
    Thank You!

  • @junqichen4641
    @junqichen4641 2 роки тому

    牛逼,不知道能不能应用于分布式运算

  • @ep5acg
    @ep5acg 2 роки тому

    Did not work .. here is the fix ...The first example that you show at 1:30 is not what happens. Instead this happens:
    [1] :import ipywidgets as widgets
    [2]: widgets.IntSlider()
    IntSlider(value=0)
    Instead of displaying the widget as it did in your video, is just echoes some text, as shown
    I am using JupyterLab Version 3.2.1. Everything is the most recent version, because I am only on my second day trying out JupyterLab. The older directions for Jupyter Notebook says to also run this:
    jupyter nbextension enable --py widgetsnbextension
    And after I did that, the widgets started showing.