arboretum/layers/tracks/tracks.py
def _pad_display_data(self, vertices):
        """ pad display data when moving between 2d and 3d

        NOTES:
            2d data is transposed yx
            3d data is zyxt

        """
        data = vertices[:, self.dims.displayed]
        # if we're only displaying two dimensions, then pad the display dim
        # with zeros
        if self.dims.ndisplay == 2:
            data = np.pad(data, ((0, 0), (0, 1)), 'constant')
            data = data[:, (1, 0, 2)]  # y, x, z
        else:
            data = data[:, (2, 1, 0)]  # z, y, x
        return data
 pad display data when moving between 2d and 3d

        NOTES:
            2d data is transposed yx
            3d data is zyxt

        
pad display data when moving between 2d and 3d
NOTES:
2d data is transposed yx
3d data is zyxt
pad display data when moving between 2d and 3d NOTES : 2d data is transposed yx 3d data is zyxt
def _pad_display_data(self, vertices):
        data = vertices[:, self.dims.displayed]
        if self.dims.ndisplay == 2:
            data = np.pad(data, ((0, 0), (0, 1)), 'constant')
            data = data[:, (1, 0, 2)]  
        else:
            data = data[:, (2, 1, 0)]  
        return data
def _pad_display_data ( self , vertices ) : data = vertices [ : , self . dims . displayed ] if self . dims . ndisplay == 2 : data = np . pad ( data , ( ( 0 , 0 ) , ( 0 , 1 ) ) , 'constant' ) data = data [ : , ( 1 , 0 , 2 ) ] else : data = data [ : , ( 2 , 1 , 0 ) ] return data
pad display data when moving between 2d and 3d
NOTES:
2d data is transposed yx
3d data is zyxt
pad display data when moving between 2d and 3d NOTES : 2d data is transposed yx 3d data is zyxt
""" pad display data when moving between 2d and 3d

        NOTES:
            2d data is transposed yx
            3d data is zyxt

        """ # if we're only displaying two dimensions, then pad the display dim # with zeros # y, x, z # z, y, x
self
vertices