opensafely-actions / cohort-report

Cohort-report generates a report for each variable in an input file
MIT License
0 stars 0 forks source link

Problem with date charts #71

Open andrewscolm opened 2 years ago

andrewscolm commented 2 years ago

The date graphs are all coming out as barcodes outside the chart.

e.g. image

milanwiedemann commented 2 years ago

same here. I thought that we could maybe flip the axes (i.e, date on x-axis and count on y-axis) and use something like date_concise_formatter for the x-axis so not every date is shown? see https://matplotlib.org/stable/gallery/ticks/date_concise_formatter.html