@staticmethod
def _ticks(n):
    """Ticks labels between 1 and `n` pixels.

        Parameters
        ----------
        n: int
            Total number of pixels.

        Return
        ------
        list
            List of ticks.

        """
    return [1, n // 4, n // 2, n // 4 + n // 2, n]
