Skip to content

General poor default formatting of datetimes on plot x-axis #9978

Closed
@IanButterworth

Description

@IanButterworth

General poor default formatting of datetimes on plot x-axes

I find the default datetime formatting on the basic plot function to be very suboptimal, and often causes overlapping labels.
image

Some factors that I think are worth addressing:

  • "DD hh:mm" format is commonly used, and is unfamiliar to most readers.
  • Overlapping labels occurs frequently

It is obviously possible to improve date formatting through tick formatting, especially the use of major and minor tick formatting and positioning, but I find this very frustrating to do each time, and would appreciate an improved default functionality.

My suggestion would be to move the date to the major ticks, and time to minor ticks, with time only specified in the commonly known iso formats: "hh:mm" and "hh:mm:ss", and date set to the ISO format: "YYYY-MM-DD".

Or a minimal change would be to change the current functionality to default to "hh:mm" rather than "DD hh:mm"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions