(self, data_len)
Initialize plots based off the length of the data array.
Initialize plots based off the length of the data array.
Initialize plots based off the length of the data array .
def init(self, data_len):
        """
        Initialize plots based off the length of the data array.
        """
        self._t = 0
        self._data_len = data_len
        self._data = np.empty((data_len, 0))
        self._plots = [self._ax.plot([], [], '.', markersize=4, color='black', 
            alpha=self._alpha)[0] for _ in range(data_len)]

        self._init = True
def init ( self , data_len ) : self . _t = 0 self . _data_len = data_len self . _data = np . empty ( ( data_len , 0 ) ) self . _plots = [ self . _ax . plot ( [ ] , [ ] , '.' , markersize = 4 , color = 'black' , alpha = self . _alpha ) [ 0 ] for _ in range ( data_len ) ] self . _init = True