Given an axis ‘ax’ and a list/array of datetime objects, ‘time’, use the smartTimeTicks function to build smart time ticks and then immediately apply them to the given axis. The first and last elements of the time list will be used as bounds for the x-axis range.
The range of the ‘time’ input value will be used to set the limits of the x-axis as well. Set kwarg ‘dolimit’ to False to override this behavior.
Parameters: | ax : matplotlib.pyplot.Axes
time : list
dolimit : boolean (optional)
|
---|
See also