Skip to content

Commit 374ca20

Browse files
committed
import numpy in docstring example
This is necessary for running 'make doctest' sucessfully from the doc subfolder
1 parent 4ae270b commit 374ca20

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pywt/_multilevel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,7 @@ def wavedecn_size(shapes):
933933
934934
Examples
935935
--------
936+
>>> import numpy as np
936937
>>> import pywt
937938
>>> data_shape = (64, 32)
938939
>>> shapes = pywt.wavedecn_shapes(data_shape, 'db2', mode='periodization')

0 commit comments

Comments
 (0)