Introduction to Dash Plotly for building Python Data Apps

Sdílet
Vložit
  • čas přidán 21. 07. 2024
  • Learn to build Python data apps and data visualizations with Dash by Plotly. This is a detailed overview of Dash as well as a demo showing how to incorporate a Machine Learning app to Dash.
    The Code:
    github.com/plotly/tutorial-co...
    Dash ML DETR App:
    dash-demo.plotly.host/dash-detr/
    Plotly Forum:
    community.plotly.com/
    Dash Club newsletter:
    go.plotly.com/dash-club
    Video Layout:
    00:00 - What you will learn
    03:49 - Dash app structure
    14:39 - App with Graph and Data
    17:30 - Layout of app
    21:21 - Callback decorator
    23:35 - Callback function
    26:30 - Machine Learning app in Dash
  • Věda a technologie

Komentáře • 10

  • @utica2burn
    @utica2burn Před 11 měsíci +2

    Still getting used to the callback. Very curious if there is any reason/argument for why the callback is not designed to have an explicit function used for the input.
    Seems very odd to me that it just calls a function. No idea what would happen if we have multiple functions.

    • @Plotly
      @Plotly  Před 11 měsíci +1

      yes, a callback is actually a function. It can be seen as a callback decorator and a callback function. Not completely sure about the full design under the hood for the callback.

    • @utica2burn
      @utica2burn Před 11 měsíci +2

      @@Plotly would be cool if the creator of Dash would comment on/explain why the isn't an explicit naming of the custom function.
      I'll play around with it and see if it always calls the first function defined after the callback when several custom functions are defined.

    • @MarcusHCrawford
      @MarcusHCrawford Před 8 měsíci +1

      ⁠@@utica2burnIt’s the syntax of a decorator. If you know about decorators in Python, they modify the function they decorate. The plotly documentation on their site gives great examples for more complex callbacks, whether nested callbacks, or multiple inputs/outputs.

  • @Maria.6899
    @Maria.6899 Před rokem

    minimal apps don´t run for me... I try the changing of the debug mode on (running from vscode or spyder) and does not work... docs are not solving nor forums..................

    • @Plotly
      @Plotly  Před rokem

      Hi Maria, we're sorry you're facing challenges. Can you please clarify what you mean by "minimal apps don´t run for me.".

    • @typeer
      @typeer Před měsícem

      How do you solve a problem like Maria

  • @rekhaj-ro7un
    @rekhaj-ro7un Před 3 měsíci

    Dash is built on the lines of MATLAB