Thanks so much for the awesome tutorial. I know there are comments about this being too advanced, but that's just it. This is for the enthusiasts and python programmers that are left wanting more after watching too many videos about printing lists of fruit. Thanks so so SO much for sharing this with the RU-vid Community. Look forward to seeing more of your content!
Thank you for your tutorial. I really appreciated it. However, I see that there are still some lagging when moving the IntSlider bar. Could you please show me how to reduce lagging? Thanks again.
Not bad for a module that has to be viewed via browser, but is it possible to view the graphing results through an IDE, like PyCharm for instance? It is a matter of preference for me.
yes, I believe you can install a jupyter extension in pycharm which should be able to show plotly plots inline. you can also check out jupyter lab if you'd like a more IDE feel but still in the browser
I had a no problem installing plotly, but had an error importing. Looks like python is installed in 3 different locations. One under Program files, 2 under Visual Studio folders. Jupyter was running from Anaconda, so I installed plotly there and got it working. Now I need to find a tutorial that explains why I have so many pythons installed.
AdamsTaiwan It looks like you've installed python a few times. Anaconda makes it easy to maintain multiple instances of python with conda environments. Check out my video on conda environments, it might help ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-9Sfs7Fbvtdk.html
Awesome! but the widget did not show up. I already imported the widget before plotly as Sarah Hein did. I updated them aswell, but it still dosen't show up. Any advice?
Great tutorial! Thank you so much. I wonder if there is a way to save this plot to html? I tried pickle, but it gives an error as PicklingError: Can't pickle : it's not the same object as builtins.input
I followed your steps exactly, but somehow is getting the error: unsupported operand type(s) for *: 'FloatSlider' and 'float', is there any solution? It seems that special.jv(s, x * freq) * operand is not allowed?
Great tutorial but I have one question... Im trying to add the graph part to my python program which I run using python command in my mac prompt. Ive used this code and it does not showed up. Im using Xcode as an IDE. Does it work with it as well? if so, what is missing?
LuizBHMG plotly is browser based so if you're running this example, it needs to run in a jupyter notebook. There's functions for running in a normal python file but the output will always be an html file which must be viewed in a browser
Thanks, Mark! Keep posting good tutorials. I'll try to find this function. Not bad if it has to be viewed in a browser, I just want to avoid installing Jupyter / Anaconda if I already have everything under pip3. Just the download of the installer was over 500 MB…
Have you been able to get the whole graph with the slider? I too am using Spyder. I was able to make it work for the first parabolic graph with py.offline.plot(..), but for the others nothing displays.
Overall a good tutorial but in my case for some reason the code with widgets doesn't even go into update_plot function (im not working on Jupyter but the first example worked alright). What might be the problem?
Hmm I have problem with downloading (File>downlad as> HTML) notebooks with plotly content to HTML. DO you have the same issue? Simple example is working fine but the Bessel function does not, is this because of widgets?
Does anyone know how I could automatically calculate the mean value of all currently selected plots of the dropdown menu and plot it in the same figure?
Hi Freddie, yes, I have a video reading in csv file and working with it for plotly visuals ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-T0eVfCHxGG4.html
Hi Mani, maybe try pip install plotly express. I show this in my video for windows computer ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-T0eVfCHxGG4.html
Hello Mark, I have a pandas data frame which i want to plot using plotly in offline mode using a jupyter notebook. But at the same time i also want to update the plot as and when my data frame is being modified. I have a for loop within which i am trying to plot , but it keeps plotting different plots. I want the same plot to be modified. can you suggest what i can do ? Thanks
Can this be used completely offline? I need a post processing tool for within a company so nothing can be online. Maybe Im misunderstanding how it works???
Thanks so much for the prompt reply Mark Jay! that is great to hear, I am trying to move a load of matlab experienced engineers in our company to open sourced code like python. So many spreadsheet type analysis methods are just so slow and can no longer handle the data sizes we need to deal with. This will be a learning curve but no doubt a great way forward. Thank you for taking the time to make these videos!
I realise there is probably no complete resource but are you able to recommend a resource/s for someone to reference in trying to manually convert matlab codes to python?
my guess is using numpy and matplotlib will offer the easiest transition because these libraries were modelled after matlab, so the syntax is similar. those are some of the best documented libraries so I would recommend referring to the online docs.