From c2c8d0519937196cc18e6bff3db5ed2993307f3b Mon Sep 17 00:00:00 2001 From: Anthony Lim <anthony.lim@stfc.ac.uk> Date: Fri, 7 Apr 2017 13:33:00 +0100 Subject: [PATCH] refs #19294 Fixed the stray tab in muonAnalysis --- MantidQt/CustomInterfaces/src/Muon/MuonAnalysis.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/MantidQt/CustomInterfaces/src/Muon/MuonAnalysis.cpp b/MantidQt/CustomInterfaces/src/Muon/MuonAnalysis.cpp index 321bba733b0..c3ef0175cea 100644 --- a/MantidQt/CustomInterfaces/src/Muon/MuonAnalysis.cpp +++ b/MantidQt/CustomInterfaces/src/Muon/MuonAnalysis.cpp @@ -1662,16 +1662,20 @@ void MuonAnalysis::plotSpectrum(const QString &wsName, bool logScale) { // Plot data in the given window with given options s << "def plot_data(ws_name,errors, connect, window_to_use):"; if (parsePlotType(m_uiForm.frontPlotFuncs) == PlotType::Asymmetry) { - s << " w = plotSpectrum(source=ws_name, indices=0, " - "distribution=mantidqtpython.MantidQt.DistributionFalse,error_bars = " - "errors, type = connect, " + // clang-format off + s << "w = plotSpectrum(source = ws_name," + "indices = 0," + "distribution = mantidqtpython.MantidQt.DistributionFalse," + "error_bars = errors," + "type = connect," "window = window_to_use)"; + // clang-format on } else { // clang-format off s << "w = plotSpectrum(source = ws_name," "indices = 0," "distribution = mantidqtpython.MantidQt.DistributionDefault," - "error_bars = errors," + "error_bars = errors," "type = connect," "window = window_to_use)"; // clang-format on -- GitLab