Skip to content

Commit c92de63

Browse files
DOC: Clean up unneeded type conversions
1 parent 56bf1e1 commit c92de63

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

doc/source/regression/wavelet.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,12 @@ print(w.family_name)
120120

121121
2. Decomposition ({attr}`~Wavelet.dec_len`) and reconstruction ({attr}`~.Wavelet.rec_len`) filter lengths:
122122

123-
<!-- # int() is for normalizing longs and ints for doctest -->
124-
<!-- TODO: FIXME: note: might not be needed anymore -->
125-
126123
```{code-cell}
127-
int(w.dec_len)
124+
w.dec_len
128125
```
129126

130127
```{code-cell}
131-
int(w.rec_len)
128+
w.rec_len
132129
```
133130

134131
3. Orthogonality ({attr}`~Wavelet.orthogonal`) and biorthogonality ({attr}`~Wavelet.biorthogonal`):

doc/source/regression/wp.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,6 @@ kernelspec:
3636

3737
+++
3838

39-
<!-- not sure if this is needed anymore? -->
40-
41-
```{code-cell}
42-
---
43-
tags: [hide-input]
44-
---
45-
from __future__ import print_function
46-
```
47-
4839
# Wavelet Packets
4940

5041
## `import pywt` and construct a helper function

doc/source/regression/wp2d.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ kernelspec:
4040

4141
## Import pywt
4242

43-
<!-- TODO: check if needed anymore -->
44-
4543
```{code-cell}
46-
from __future__ import print_function
4744
import pywt
4845
import numpy
4946
```

0 commit comments

Comments
 (0)