mpas_analysis.shared.plot.ticks.plot_xtick_format¶
-
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
- Parameters
- calendarstr
the calendar to use for formatting the time axis
- minDaysfloat
start time for labels
- maxDaysfloat
end time for labels
- maxXTicksint
the maximum number of tick marks to display, used to sub-sample ticks if there are too many
- yearStrideint, optional
the number of years to skip over between ticks