Setting up Plotly Dash in JupyterLab & Jupyter Notebook

Поділитися
Вставка
  • Опубліковано 14 жов 2024

КОМЕНТАРІ • 30

  • @arnabchakraborty3593
    @arnabchakraborty3593 2 роки тому +5

    You are a GREAT teacher. Thanks a lot for your support.

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

    Nice to see new videos again Adam :) ... Please keep churning out these delicious tutorials!

  • @TheBtrivedi
    @TheBtrivedi 3 роки тому +3

    Beautiful and easy explanation of creating virtual environment and why one should create one. Didn't see other people explaining it so easily.

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

    Absolutely Brilliant! Thanks so much... so tired of the Anaconda / Matplotlib... -- very refreshing to see pip + venv + plotly + dash + jupyterLab :)
    Also appreciate the text file

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

    Perfect and crisp tutorial! ❤

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

    python -m venv
    this command worked for me in windows 10 ,
    if anyone facing any issues creating virtual environment

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

    Thank you a lot man, you're a life saver.

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

    Great teacher and overall delightful person :) A question of style. My pylons complains about the imports you show being deprecated and suggest I change them all into just one "from dash import Dash, dcc, html, Input, Output" . I find this form more compact. Is there a reason you use the other form? Thanks a lot.

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

      Hi Robert, thanks for the suggestion all the videos that have the old import were created before dash 2.0.0, where the old import method was the way to go

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

    Can we follow this proces if we already have jupyter notebook installed?

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

      I think this process can still be helpful

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

    this is great. Thank you

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

    Hi!! Is there anyway that I could save my dashboard (dash)created in Jupyter notebook as HTML or other format that I could share a link with the professor and she can see the dashboard?! Many thanks if you can apply my answer 🙏🙏

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

      Hi Drake, I'm not sure how to do that with Jupyter notebook. I hope someone else here can help you. I recommend you convert your Dash app into a .py file and deploy it to the web with Render. That way, you can share the link with your professor: ua-cam.com/video/XWJBJoV5yww/v-deo.html

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

      @@CharmingData I have used your way (render) to submit the dashboard already! Still many thanks for replying me

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

    Awasome 👏

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

    hi adam, great tutorial ! can jupyter notebook be deployed into heroku or python anywhere?

    • @CharmingData
      @CharmingData  3 роки тому +3

      That's a good question. I don't think so Muhammad. But if you find a way, please share with me and others here in the comments.

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

      @@CharmingData thanks adam.

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

    Hello, long time matplotlib user here, but new to (and very impressed by) plotly. I'm excited about using this, but unfortunately, when going through the instructions you provided, I keep running into "ModuleNotFoundError: No module named 'plotly'" even though I see it when I do a pip list. The only solutions I could find on Stack Overflow require a conda environment, which I'm not using. Any suggestions on how I might otherwise address this?

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

      Hi TJ. You need to activate the virtual environment that you created. It's not recognizing Plotly because it is probably installed in the virtual environment that you haven't activated

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

      @@CharmingData Wow, quick reply - thank you! It was activated, but I do suspect there still might be something environment related going on because I created this environment using the py3 installation that comes with ArcGIS Pro. I deactivated the ArcGIS env and activated the dash env, but still had the same problem. I realize this is a very non-standard setup and I probably should spend some time figuring out the implications with what might be getting inherited into the dash env I created. I decided to ask you about this first just to help me rule out the more common reasons this problem might occur. Thanks again for your prompt reply and I will definitely be following your terrific videos.

  • @BruceCichowlas
    @BruceCichowlas 8 місяців тому

    Perhaps I am using a different version, but I found that I had to modify the line to: df = df.pivot(index='Team',columns='Year',values='Winning Percentage') Otherwise, I got an error about too many positional arguments.

    • @CharmingData
      @CharmingData  8 місяців тому

      Hi Bruce, Try using Dash 2.14.2. The newest versions of Dash don't require JupyterLab. You can run a normal Dash app code in jupyter Lab version

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

    I am getting the following error on activation of virtual environment: .\myenv\Scipts\activate' is not recognised as an internal or external command, operable program or bacth file. Please help

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

    I've done this and it all worked, and I've been watching other videos, but now my dash is literally only giving tthis first dash i ever created. It's driving me nuts how do i fix this

  • @arthur.obwolo7552
    @arthur.obwolo7552 2 роки тому

    This is great but how to do deploy from Jupyter Lab?
    The True power of Dash is in sharing it through deployment.

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

      Hi Arthur. I think you need to use a python ide or at least connect to got to deploy. Check out my video on fastest way to deploy your dash app with dash tools