def len ( self, object, trait ):
        if self.transpose:
            return getattr( object, trait ).shape[1]

        return super( ArrayViewAdapter, self ).len( object, trait )

# Define the actual abstract Traits UI array view editor (each backend should
# implement its own editor that inherits from this class.
Get a copy of this instance plus a new sample
dataset/ETHPy150Open enthought/traitsui/traitsui/ui_editors/array_view_editor.py/ArrayViewAdapter.len--crossover with--dataset/ETHPy150Open blynch/CloudMemeBackend/pymongo/read_preferences.py/MovingAverage.clone_with