def METHOD_NAME(self):
    viewlim = self.axis.get_view_interval()
    loglim = numpy.log10(viewlim)
    return numpy.arange(
        ceil(loglim[0]),
        floor(ceil(loglim[1])),
        dtype=int,
    ).size