Skip to content

Commit 7109cbe

Browse files
committed
fix remaining doctest failures (as found by test_doc.py)
1 parent 0cb2ba0 commit 7109cbe

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

doc/source/ref/other-functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ Each can be loaded via a function of the same name.
7171

7272
>>> import pywt
7373
>>> camera = pywt.data.camera()
74-
>>> doppler = pywt.data.demo_signal('doppler')
74+
>>> doppler = pywt.data.demo_signal('doppler', 1024)
7575
>>> available_signals = pywt.data.demo_signal('list')

doc/source/ref/wavelets.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ from plain Python lists of filter coefficients and a *filter bank-like* object.
332332
>>> print(wavelet)
333333
ContinuousWavelet gaus1
334334
Family name: Gaussian
335-
Short name: db
335+
Short name: gaus
336336
Symmetry: anti-symmetric
337337
DWT: False
338338
CWT: True
@@ -390,7 +390,7 @@ Approximating wavelet functions - ``ContinuousWavelet.wavefun()``
390390
>>> print(wavelet)
391391
ContinuousWavelet gaus1
392392
Family name: Gaussian
393-
Short name: db
393+
Short name: gaus
394394
Symmetry: anti-symmetric
395395
DWT: False
396396
CWT: True

doc/source/regression/dwt-idwt.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ extension mode (please refer to the PyWavelets' documentation for the
7474
:ref:`extension modes <Modes>` available:
7575

7676
>>> pywt.Modes.modes
77-
['zero', 'constant', 'symmetric', 'periodic', 'smooth', 'periodization', 'reflect']
77+
['zero', 'constant', 'symmetric', 'periodic', 'smooth', 'periodization', 'reflect', 'antisymmetric', 'antireflect']
7878

7979
As you see in the above example, the :ref:`periodization <Modes.periodization>`
8080
(periodization) mode is slightly different from the others. It's aim when

doc/source/regression/modes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Import :mod:`pywt` first
1919
List of available signal extension :ref:`modes <Modes>`:
2020

2121
>>> print(pywt.Modes.modes)
22-
['zero', 'constant', 'symmetric', 'periodic', 'smooth', 'periodization', 'reflect']
22+
['zero', 'constant', 'symmetric', 'periodic', 'smooth', 'periodization', 'reflect', 'antisymmetric', 'antireflect']
2323

2424

2525
Invalid mode name should rise a :exc:`ValueError`:

0 commit comments

Comments
 (0)