Skip to content

Commit 8014088

Browse files
authored
Merge pull request #2753 from silx-kit/fix-twoThetaArray-deprecation-warning
Fix deprecation replacement in twoThetaArray
2 parents 57b3f14 + c0e2f37 commit 8014088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyFAI/geometry/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ def tth_corner(self, d1, d2):
774774

775775
@deprecated(
776776
reason="not so precise",
777-
replacement="center_array('2th_rad')",
777+
replacement="center_array(unit='2th_rad')",
778778
since_version="2025.09",
779779
)
780780
def twoThetaArray(self, shape=None):

0 commit comments

Comments
 (0)