@@ -104,7 +104,7 @@ def raw_destripe(raw, fs, t0, i_plt, n_plt,
104104 if fig is None or axs is None :
105105 fig , axs = plt .subplots (nrows = 1 , ncols = n_plt , figsize = (14 , 5 ), gridspec_kw = {'width_ratios' : 4 * n_plt })
106106
107- if i_plt > len (axs )- 1 : # Error
107+ if i_plt > len (axs ) - 1 : # Error
108108 raise ValueError (f'The given increment of subplot ({ i_plt + 1 } ) '
109109 f'is larger than the total number of subplots ({ len (axs )} )' )
110110
@@ -113,10 +113,10 @@ def raw_destripe(raw, fs, t0, i_plt, n_plt,
113113 destripe = voltage .destripe (raw , fs = fs )
114114 X = destripe [:, :int (DISPLAY_TIME * fs )].T
115115 Xs = X [SAMPLE_SKIP :].T # Remove artifact at beginning
116- Tplot = Xs .shape [1 ]/ fs
116+ Tplot = Xs .shape [1 ] / fs
117117
118118 # PLOT RAW DATA
119- d = Density (- Xs , fs = fs , taxis = 1 , ax = axs [i_plt ], vmin = MIN_X , vmax = MAX_X , cmap = 'Greys' )
119+ d = Density (- Xs , fs = fs , taxis = 1 , ax = axs [i_plt ], vmin = MIN_X , vmax = MAX_X , cmap = 'Greys' ) # noqa
120120 axs [i_plt ].set_ylabel ('' )
121121 axs [i_plt ].set_xlim ((0 , Tplot * 1e3 ))
122122 axs [i_plt ].set_ylim ((0 , nc ))
0 commit comments