menpo/image/base.py
def n_channels(self):
        """
        The number of channels on each pixel in the image.

        :type: `int`
        """
        return self.pixels.shape[-1]

        The number of channels on each pixel in the image.

        :type: `int`
        
The number of channels on each pixel in the image.
The number of channels on each pixel in the image .
def n_channels(self):
        return self.pixels.shape[-1]
def n_channels ( self ) : return self . pixels . shape [ - 1 ]
The number of channels on each pixel in the image.
The number of channels on each pixel in the image .
"""
        The number of channels on each pixel in the image.

        :type: `int`
        """
self