From 88b7827b4e5863cc38e078d66f948335335a782b Mon Sep 17 00:00:00 2001 From: BenKlee <48994033+BenKlee@users.noreply.github.com> Date: Thu, 28 Nov 2024 09:36:03 +0100 Subject: [PATCH] Bugfix boilerplate.py --- src/fcwt/boilerplate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fcwt/boilerplate.py b/src/fcwt/boilerplate.py index 42141c7..ba49cbe 100644 --- a/src/fcwt/boilerplate.py +++ b/src/fcwt/boilerplate.py @@ -55,7 +55,7 @@ def plot(input, fs, f0=0, f1=0, fn=0, nthreads=1, scaling="lin", fast=False, nor ax2.set_ylabel('Frequency (Hz)') ax2.set_title('CWT') ax2.set_xticks(np.arange(0,input.size,fs*10),np.arange(0,input.size/fs,10)) - ax2.set_yticks(np.arange(0,fn,fn/10),np.round(freqs[::int(fn/10)])) + ax2.set_yticks(np.arange(0,fn,int(fn/10)),np.round(freqs[::int(fn/10)])) plt.show()