From a7569bb834a24536c0aa7ac4db9281560f3a8f77 Mon Sep 17 00:00:00 2001 From: Brandon Hewer <brandon.hewer@stfc.ac.uk> Date: Thu, 5 Oct 2017 17:34:43 +0100 Subject: [PATCH] Update PoldiFitPeaks2D-v1.rst --- docs/source/algorithms/PoldiFitPeaks2D-v1.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/algorithms/PoldiFitPeaks2D-v1.rst b/docs/source/algorithms/PoldiFitPeaks2D-v1.rst index 36433391c77..82d9f2029bb 100644 --- a/docs/source/algorithms/PoldiFitPeaks2D-v1.rst +++ b/docs/source/algorithms/PoldiFitPeaks2D-v1.rst @@ -152,7 +152,7 @@ The following example shows an example for refinement of lattice parameters usin cell_a = np.round(lattice_parameters.cell(0, 1), 5) cell_a_error = np.round(lattice_parameters.cell(0, 2), 5) - print("Refined lattice parameter a = {} +/- {}".format(cell_a, cell_a_error)) + print("Refined lattice parameter a = {:.5} +/- {}".format(cell_a, cell_a_error)) The refined lattice parameter is printed at the end: -- GitLab