From 3ea591b6e660fbf55e4205bf4eaa0e7081f1fc31 Mon Sep 17 00:00:00 2001 From: Yuchen Ethan Xiao Date: Fri, 25 Jul 2025 16:45:46 -0400 Subject: [PATCH] docs: fix the `diffpy.utils.transforms.d_to_tth` example --- docs/source/examples/transforms_example.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/examples/transforms_example.rst b/docs/source/examples/transforms_example.rst index 2fc40c4..70d63fb 100644 --- a/docs/source/examples/transforms_example.rst +++ b/docs/source/examples/transforms_example.rst @@ -59,5 +59,5 @@ This example will demonstrate how to use the functions in the from diffpy.utils.transforms import d_to_tth wavelength = 0.71 - d = np.array([1.0, 0.8, 0.6, 0.4, 0.2]) + d = np.array([1.0, 0.8, 0.6, 0.4]) tth = d_to_tth(d, wavelength)