mpas_analysis.shared.plot.ticks.plot_xtick_format(calendar, minDays, maxDays, maxXTicks, yearStride=None)[source]

Formats tick labels and positions along the x-axis for time series / index plots

  • calendar (str) – the calendar to use for formatting the time axis

  • minDays (float) – start time for labels

  • maxDays (float) – end time for labels

  • maxXTicks (int) – the maximum number of tick marks to display, used to sub-sample ticks if there are too many

  • yearStride (int, optional) – the number of years to skip over between ticks