From c92de6369f68a71eb20d26d5d14175d25b1dac1a Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Tue, 4 Jun 2024 20:30:15 +0530 Subject: [PATCH] DOC: Clean up unneeded type conversions --- doc/source/regression/wavelet.md | 7 ++----- doc/source/regression/wp.md | 9 --------- doc/source/regression/wp2d.md | 3 --- 3 files changed, 2 insertions(+), 17 deletions(-) diff --git a/doc/source/regression/wavelet.md b/doc/source/regression/wavelet.md index 32f2ef23b..caf5d7494 100644 --- a/doc/source/regression/wavelet.md +++ b/doc/source/regression/wavelet.md @@ -120,15 +120,12 @@ print(w.family_name) 2. Decomposition ({attr}`~Wavelet.dec_len`) and reconstruction ({attr}`~.Wavelet.rec_len`) filter lengths: - - - ```{code-cell} -int(w.dec_len) +w.dec_len ``` ```{code-cell} -int(w.rec_len) +w.rec_len ``` 3. Orthogonality ({attr}`~Wavelet.orthogonal`) and biorthogonality ({attr}`~Wavelet.biorthogonal`): diff --git a/doc/source/regression/wp.md b/doc/source/regression/wp.md index f4fc4a898..0c664884a 100644 --- a/doc/source/regression/wp.md +++ b/doc/source/regression/wp.md @@ -36,15 +36,6 @@ kernelspec: +++ - - -```{code-cell} ---- -tags: [hide-input] ---- -from __future__ import print_function -``` - # Wavelet Packets ## `import pywt` and construct a helper function diff --git a/doc/source/regression/wp2d.md b/doc/source/regression/wp2d.md index ffb46b4fa..81d64d96f 100644 --- a/doc/source/regression/wp2d.md +++ b/doc/source/regression/wp2d.md @@ -40,10 +40,7 @@ kernelspec: ## Import pywt - - ```{code-cell} -from __future__ import print_function import pywt import numpy ```