Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! ✅Check out the new docs.

Not showing first/last date tick


I’m trying to set date tick intervals for my graphs (yearly, monthly, etc). Sometimes the axis doesn’t show the first or last date tick. As you can see from the example linked below, when I set a yearly tick interval it doesn’t show the last tick which should be 2017 even though there is 2017 data.

It will only show 2017 if I set it to tick every 10 months.


Ok I figured it out. Because tick0 was 0 and that’s not a data point, it was guessing the tick intervals to jump from December. December was not a data point in 2017 so that’s why it ended at 2016.