obspy.imaging.util.decimal_seconds_format_date_first_tick

decimal_seconds_format_date_first_tick(x, pos=None)[source]

This format function is used to format date ticklabels with decimal seconds but stripping trailing zeros.