diff --git a/docs/source/algorithms/SaveFITS-v1.rst b/docs/source/algorithms/SaveFITS-v1.rst index 69a43055a1a3831770ed279f4fefe5271a4303b1..ef0260bb3294113af5572217ab58c2ed9802869d 100644 --- a/docs/source/algorithms/SaveFITS-v1.rst +++ b/docs/source/algorithms/SaveFITS-v1.rst @@ -79,7 +79,7 @@ Usage print("Could not find the keywords '{}' and '{}' in this FITS file".format(axis1_log, axis2_log)) pos_x, pos_y = 22, 33 - print("Pixel value at coordinates ({0},{1}), first image: {2}, second image: {3}". + print("Pixel value at coordinates ({0},{1}), first image: {2:.1f}, second image: {3:.1f}". format(pos_x, pos_y, ws.readY(pos_y)[pos_x], ws_reload.readY(pos_y)[pos_x])) .. testcleanup:: LoadSaveLoadFITS