Skip to content

Commit

Permalink
display fix and if statement bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Oct 6, 2023
1 parent b0ea3c3 commit cbb5cfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spikeanalysis/intrinsic_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit cbb5cfa

Please sign in to comment.