Closed lsetiawan closed 10 months ago
The function _compute_tick_labels
currently determine the tick marks for the qc plot pointed out in https://github.com/uw-ssec/offshore-geodesy/issues/175#issuecomment-1777992065
Currently this implementation get's the minimum and maximum of the data timestamp, then the step for each tick is determined by dividing the difference by n_ticks
. This makes the ticks too fine grained!
This issue propose a change to have the tick steps by hourly if the difference b/w min and max is more than 1 hour, or be minutes if the difference is less than an hour with n_ticks
no more than the specified n_ticks
.
Overview
Currently the ticks are very precise, let's make this hourly so that it's easier for user to see. No more that 15 number of ticks!