I think the issue is that you are not parsing the date strings to dates. Your dates are therefore treated as categorical and you get a label for each category. If you parse them properly, then you should get a continuous scale.
To do so, in your definition of get_date you might change this line near the end