-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MVP for the DLC webinar #5
base: webinar
Are you sure you want to change the base?
Conversation
You can remove the folder: openfield-Pranav-2018-10-30 |
Note, when running locally just cache images first.
|
Improve image loading times (also, currently the images are subsampled, there's some performance issue --> isnt jpeg compression handled automatically by plotly?) I put pngs. That makes little sense. Switching to jpg now! That is about 10 times smaller... |
added "left" click, and added "DLC" somewhere ;)
Update view.py
Seems to be running smoothly! |
currently throws this error (fixed for now) |
Hi @stes it's awesome to see a Dash app written for this cool application :-). I noticed on the deployed version that it takes quite a lot of time for a marker to appear when you click somewhere (disclaimer: I've got a slow Internet connection ;-)). The reason is probably that you have to transport the
I did not try it myself but from a quick reading of your code I got the impression that this should work. It's a common trick to use a store for a large figure and then use the store in a clientside callback. Please tell me if this makes sense! |
Hi @emmanuelle, it's great to have a Plotly expert around :) |
With the requirement of having a single callback for a given output property, you end up writing callbacks which are more like routing functions: you can test which input triggered the callback thanks to the callback context, and execute a different function for each possibility. This way you keep your callback small and well-organized. |
Done:
Next:
main.py
(the the log messages I am writing currently)To run this, please first fetch data:
mkdir -p data parallel wget :::: config/filelist.lst mv *.png data
For deploy mode, do
For debug mode, do
You can fetch the data using
and see a summary at
curl -s http://localhost:8050/csv
.