-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Dash not working on dev site #1251
Comments
Replicated locally with requestTypeColors branch.
After checking the column names of the dataframe, the column name seems to exist but dataframe is empty given current date ranges. Not sure if it is related.
Seems like order of argument matters. No clue yet - will take a look in the next few days. EDIT: seems like the code doesn't handle the case when there is no data available. Once I set the date range further back, it ran smoothly. Couple things we need to do:
|
Turns out it's unavoidable some councils have insufficient request for more recent requests (i.e. current week). Instead, I copied and pasted the query code and simply reload the query from 3 weeks ago if the dataframe for this week filters down to an empty table. This seems to work locally. |
Thanks Josh! I was envisioning this graph still including the full legend, with all the request types, and that we would fill the dataframe with 0's for each day x request_type. |
LGTM! The pie chart is somewhat misleading, but we can think about that later. |
I checked the logs for the server, and it gives an error like this:
Looking at
git blame
for "neighborhood_recent.py", it looks like PR #1221 is the most recent change for line 70.The text was updated successfully, but these errors were encountered: