Skip to content

Commit 85290a9

Browse files
committed
Remove f in the beginning of docstring
1 parent c580d82 commit 85290a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/diffpy/utils/diffraction_objects.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,8 @@ def on_d(self):
392392
return [self.all_arrays[:, 3], self.all_arrays[:, 0]]
393393

394394
def scale_to(self, target_diff_object, xtype=None, xvalue=None):
395-
f"""
396-
returns a new diffraction object which is the current object but recaled in y to the target
395+
"""
396+
Return a new diffraction object which is the current object but recaled in y to the target
397397
398398
Parameters
399399
----------
@@ -428,8 +428,8 @@ def scale_to(self, target_diff_object, xtype=None, xvalue=None):
428428
return scaled
429429

430430
def on_xtype(self, xtype):
431-
f"""
432-
return a list of two 1D np array with x and y data, raise an error if the specified xtype is invalid
431+
"""
432+
Return a list of two 1D np array with x and y data, raise an error if the specified xtype is invalid
433433
434434
Parameters
435435
----------

0 commit comments

Comments
 (0)