From cbb5cfa1de97474d199b18445532bb9327340df4 Mon Sep 17 00:00:00 2001 From: zm711 <92116279+zm711@users.noreply.github.com> Date: Fri, 6 Oct 2023 14:45:06 -0400 Subject: [PATCH] display fix and if statement bug --- src/spikeanalysis/intrinsic_plotter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spikeanalysis/intrinsic_plotter.py b/src/spikeanalysis/intrinsic_plotter.py index 92a0524..e31a59a 100644 --- a/src/spikeanalysis/intrinsic_plotter.py +++ b/src/spikeanalysis/intrinsic_plotter.py @@ -148,7 +148,7 @@ def plot_waveforms(self, sp: SpikeData): current_waves = waveforms[cluster, :, max_channel, :] current_mean = mean_waveforms[cluster, max_channel, :] - if np.shape(current_waves)[0] > 30: + if np.shape(current_waves)[0] > 300: WAVES = 300 else: WAVES = np.shape(current_waves)[0] @@ -317,7 +317,7 @@ def _plot_cdf_pdf(self, df: pd.DataFrame): else: plt.ylabel("Depth (µm)") - plt.xlabel("Amplitude (µV)") + plt.xlabel("Amplitude (AU)") plt.figure(dpi=self.dpi) plt.show()