Matthias Schoettle

Results 183 comments of Matthias Schoettle

Also for resampling I came across pandas [`resample`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.resample.html#pandas.Series.resample) method which I will try and see if it makes it easier to reduce the dataset.

Writing this down for future reference. I managed to downsample by converting the date to a `DateIndex` via `df.resample('7d')`. It starts on the first date (here 2020-03-29). Any date that...

Sometimes, due to adjustments in case numbers, the 7-day incidence is negative. I will just set those to 0.

I'm pretty close but I'm facing an issue where some of the boroughs remain uncoloured. Would you be able to have a look? It's branch https://github.com/jeremymoreau/covid19mtl/tree/49-mtl-boroughs Another thing I haven't...

Awesome! Good catch. Thanks a lot. > I added a couple more colours within the "orange" and "red" risk level categories to make a gradient (I think this is what...

Ah, is it possible that with the callback it would be possible to react to the slider (as input) and therefore only provide one animation frame at a time?!

I actually found your post during my research for a solution to this problem. Yes, please post this question there once it is live. You might have tried it when...

Unfortunately, setting the hovertemplate as it was done also does not work. It works for the first frame (using `update_traces`) but not for the remaining frames. So it is still...

Thanks! What I originally wanted to do is to start with an initial range of the last 16 weeks but because it does not zoom automatically the y-axis was too...

> 1. y-axis doesn't autoscale when adjusting range. There doesn't seem to be an way to do this. Manual zooming with the drag-to-zoom tool still works. I tried `figure.update_layout(xaxis=dict(range=['2021-11-01', '2021-12-08']),...