No video

Python Introduction to Panel Widgets & Dashboards

  Рет қаралды 32,009

Ryan Noonan

Ryan Noonan

Күн бұрын

In this python tutorial, we will go over how to create interactive widgets and dashboards using the panel library. Topics include: slider widgets, text, textbox widgets, select dropdown widgets, checkbox widgets, toggle chart elements on or off, radio button widgets, tab widgets, link widgets to plots with jslink, decorators, callbacks, creating interactions between widgets and functions, layout options, interactive charts and maps.
Jupyter Notebook with Code Examples: github.com/gro...

Пікірлер: 34
@congdungnguyen7354
@congdungnguyen7354 Жыл бұрын
Thank you very much for this tutorial. It reminds me to start easier to not overwhelm oneself.
@RyanNoonan
@RyanNoonan Жыл бұрын
Glad it was helpful and I agree. I like to start simple and then add on little by little until I have something impressive.
@MH-xx6df
@MH-xx6df 4 жыл бұрын
Awesome. Can surely use this. Thanks Frank!
@ahsannaseer9433
@ahsannaseer9433 2 жыл бұрын
Thank You so much man! Your tutorial really helped me.
@RyanNoonan
@RyanNoonan 2 жыл бұрын
Glad it helped!
@kevon217
@kevon217 Жыл бұрын
Great walkthrough!
@anny23108
@anny23108 2 жыл бұрын
This is so so good, thank you so much, great work!
@RyanNoonan
@RyanNoonan 2 жыл бұрын
Thank you too!
@jamesb9223
@jamesb9223 4 жыл бұрын
Your tutorials are amazing!!!
@RyanNoonan
@RyanNoonan 4 жыл бұрын
Glad you like them!
@eugeniosp3
@eugeniosp3 2 жыл бұрын
Awesome tutorial
@RyanNoonan
@RyanNoonan 2 жыл бұрын
Thank you!
@jhonnykokos8522
@jhonnykokos8522 3 жыл бұрын
Absolutely fantastic!
@vivekdabholkar5965
@vivekdabholkar5965 Жыл бұрын
Very well done!
@RyanNoonan
@RyanNoonan Жыл бұрын
Thank you! Cheers!
@astronomiahoy264
@astronomiahoy264 Жыл бұрын
Super
@RyanNoonan
@RyanNoonan Жыл бұрын
Thanks
@0mon0zz
@0mon0zz Жыл бұрын
Is it possible to have multiple dashboards in one URL? Like tabs for each dashboard?
@sarbajitroy7003
@sarbajitroy7003 3 жыл бұрын
Hi Ryan, lovely video. One question, will the dashboard work if we export the .ipynb notebook into abHTML_toc or html_embd? I tried with the widgets inside panels and those are not working when exporting into html_embed or html_toc files. Any thoughts will be highly appreciated!
@RyanNoonan
@RyanNoonan 3 жыл бұрын
Thanks. I have not tried this. I searched the documentation and found a section called panel deploy and export that might help.
@MariaDiaz-qv7xy
@MariaDiaz-qv7xy 3 жыл бұрын
gracias!
@sarbajitroy7003
@sarbajitroy7003 2 жыл бұрын
Hi Ryan, For TEXTBOX & BUTTON, any thoughts on how to save it as an HTML file. Like pn.Column(text_box, button, text).save("file.html",embed=True) or something, that will work?
@debarunkumer2019
@debarunkumer2019 2 жыл бұрын
Consider a situation where I have var_name with 600 unique values, bins, woe values and event rate values. Now I am having to create a dashboard with all the above features as input such that when I select a particular variable name from a dropmenu and a woe or event rate feature from the other dropmenu, I can visual a bar plot of the woe or event rate values against the bins of that particular selected var_name value. Can someone please help me with that code?
@ottolunam
@ottolunam 2 жыл бұрын
does it only work in Jupyter Notebook?
@elghark
@elghark 2 жыл бұрын
minute 5:04: I don't understand why putting 'event' in the ''hello' function makes it work. I mean, 'event' is a variable input you didn't use later. However, if i don't put any input, it doesn't work after clicking the Button. Can u explain?
@RyanNoonan
@RyanNoonan 2 жыл бұрын
The event variable can be used. Here is an example from the documentation: m = pn.pane.Markdown("") t = pn.widgets.TextInput() def callback(target, event): target.object = event.new.upper() + '!!!' t.link(m, callbacks={'value': callback}) t.value="Some text" pn.Row(t, m) In this case the text is set to upper case. Event can also be used to get information about the variable and how it has changed, etc. As far as why it seems to be required even if not used, I am not exactly sure. The example below is from the documentation. If event is taken out - it does not work. The way the package is set up - there must be a need to have a placeholder variable there for things to work even if not used explicitly in the function but as I mentioned, the "event" variable can be used. Maybe event is required because it is used behind the scenes somehow or it could just be arbitrary. button = pn.widgets.Button(name='Click me', button_type='primary') text = pn.widgets.TextInput(value='Ready') def b(event): text.value = 'Clicked {0} times'.format(button.clicks) button.on_click(b) pn.Row(button, text) If I learn more about "event" and why it is the way it is, I'll share. By the way, I think you can use any variable you want for event.
@elghark
@elghark 2 жыл бұрын
@@RyanNoonan many thanks for the explanation. It's clear I have a lot to study for this library😁
@lazzyboyhunter2938
@lazzyboyhunter2938 2 жыл бұрын
not able to import pydataset tried all the commands to install pydataset but the error keeps poping up "ModuleNotFoundError: No module named 'pydataset'"
@RyanNoonan
@RyanNoonan 2 жыл бұрын
Are you using the anaconda package manager? This error means the package has not been installed in the package environment being used. You can add packages to the anaconda package environment using terminal. I have a tutorial that might help titled: Python Create Package Environments with Anaconda Navigator.
@davidmurphy563
@davidmurphy563 4 жыл бұрын
I'm implementing KivyMD on a project, I like the material design standard and autoresizing that makes it cross platform comparable. I tried tkinter but it's hopelessly outmoded in my humble. What advantages/case uses would you say panels has in the context of other GUIs?
@finnmccool8671
@finnmccool8671 4 жыл бұрын
Tk drove me mad so I gave up on it a long time ago. PyQt5 is 1_000 times better. You can use Qt Creator to quickly design the GUI and layout changes are easy. And it's cross platform. I don't know how Panels will work in it. I use Jupyter a lot so the widgets work for me.
@RyanNoonan
@RyanNoonan 4 жыл бұрын
There is some overlap, however when I think of Kivy and Tkinter I think of libraries that help build applications or mobile apps, etc. Panel is suited more for data analysis and exploration, data visualization, and interactive dashboard creation in a Jupyter Notebook environment or similar (with app deployment options). Also, Panel works well with other HoloViz libraries such as HoloViews, GeoViews, etc. Having said that, many of the same types of projects could probably be done in both Kivy (or Tkinter) and Panel.
@ivancarhuapoma1184
@ivancarhuapoma1184 2 жыл бұрын
bro, how can I configure panel in Vscode?
Python Introduction to Maps with GeoViews
10:56
Ryan Noonan
Рет қаралды 4 М.
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 41 МЛН
English or Spanish 🤣
00:16
GL Show
Рет қаралды 8 МЛН
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 19 МЛН
Matplotlib Widgets Make Your Graphs Interactive
16:09
NeuralNine
Рет қаралды 12 М.
Introduction to Dash Plotly - Data Visualization in Python
29:21
Charming Data
Рет қаралды 784 М.
How to Create a Beautiful Python Visualization Dashboard With Panel/Hvplot
10:57
Thu Vu data analytics
Рет қаралды 540 М.
My Workflow for Building any Streamlit Dashboard Project
9:40
Fanilo Andrianasolo
Рет қаралды 83 М.
Introduction to Panel from PyData Global 2021
15:28
Marc Skov Madsen
Рет қаралды 8 М.
Interactive Python Plots With IPyWidgets
15:59
NeuralNine
Рет қаралды 45 М.
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00