Skip to content

Commit 1163ae8

Browse files
authored
Merge pull request #357 from ycexiao/fix-docs-example
docs: fix the `diffpy.utils.transforms.d_to_tth` example
2 parents 44328a2 + 3ea591b commit 1163ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/examples/transforms_example.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ This example will demonstrate how to use the functions in the
5959
from diffpy.utils.transforms import d_to_tth
6060
6161
wavelength = 0.71
62-
d = np.array([1.0, 0.8, 0.6, 0.4, 0.2])
62+
d = np.array([1.0, 0.8, 0.6, 0.4])
6363
tth = d_to_tth(d, wavelength)

0 commit comments

Comments
 (0)