From the course: Interactive Dashboards with Plotly and Dash
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Multiple input callbacks
From the course: Interactive Dashboards with Plotly and Dash
Multiple input callbacks
- [Instructor] Okay, so we actually got a glimpse of this when we looked at date range pickers. We saw callback functions that had multiple calls to our input function. Let's go ahead and formalize this and take a look at some of the other examples of applications that have multiple inputs. And just in case it wasn't clear, a single callback function can have multiple inputs. This lets us add multiple interactive elements to the same application in addition to handling things like the two dates that come out of our date picker range. Let's take a look. So, in this example, we have two dropdown menus. One's called X column and one's called Y column. If you recall, in one of our earlier examples, we had a scatter plot that plotted an X column chosen by the user versus a fixed Y column. But if we have the ability to embed multiple dropdown menus, we can allow users to select both an X and a Y column. We still might fix them and specify a default value based on what we think the user's…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Intro to interactive elements3m 34s
-
(Locked)
Interactive element overview4m 1s
-
(Locked)
Dropdown menus5m 17s
-
(Locked)
Demo: Dropdowns6m 35s
-
(Locked)
Checklists3m 36s
-
(Locked)
Assignment: Checklists2m 27s
-
(Locked)
Solution: Checklists2m 43s
-
(Locked)
Radio buttons4m
-
(Locked)
Sliders6m 8s
-
(Locked)
Range sliders4m 28s
-
(Locked)
Assignment: Sliders1m 56s
-
(Locked)
Solution: Sliders4m 54s
-
(Locked)
Date pickers5m 2s
-
(Locked)
Demo: Date pickers8m 11s
-
(Locked)
Multiple input callbacks6m 32s
-
(Locked)
Multiple output callbacks6m 15s
-
(Locked)
Assignment: Multiple interactive elements2m 30s
-
(Locked)
Solution: Multiple interactive elements4m 9s
-
(Locked)
Key takeaways1m 52s
-
(Locked)
-
-
-
-