I want to get xlabel like “HH:MM”, Part of my code as follows. It doesn’t work as I want, but without throwing out an error. Anyone can give some suggestions?
Thanks a lot! Your suggestion works.
Makie cann’t support DateTime Type well. There is another way to avoid this issue, that is, transform DateTime data with datetime2unix function.
Yes I think in practice the date support in Makie is currently only really useful for quick and dirty exploratory plotting.
While my comment in the GitHub issue can get you some of the way towards a more useable date format by at least letting you customise ticks, it doesn’t fix many other issues (e.g. date support being completely broken for some plot types).
Your solution of converting dates/datetimes to numerical values using datetime2unix and date2epochdays is the way to go in my view at this point.