From ae40097b5197268c4da7aa129e7f998a643e032a Mon Sep 17 00:00:00 2001
From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr>
Date: Tue, 17 Oct 2023 11:27:00 +0200
Subject: [PATCH] Results: Fix pep8 format.

---
 src/View/Results/CustomPlot/Plot.py | 1 -
 src/View/Results/Window.py          | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/View/Results/CustomPlot/Plot.py b/src/View/Results/CustomPlot/Plot.py
index ea1e2001..56fe6a99 100644
--- a/src/View/Results/CustomPlot/Plot.py
+++ b/src/View/Results/CustomPlot/Plot.py
@@ -79,7 +79,6 @@ class CustomPlot(PamhyrPlot):
         for axes in self._y_axis[1:]:
             logger.info(axes)
             ax_new = ax.twinx()
-            #ax_new.spines['right'].set_position(('axes', 1 + spacing * (n - 1)))
             ax_new.set_ylabel(
                 self._trad[axes],
                 color='green', fontsize=12
diff --git a/src/View/Results/Window.py b/src/View/Results/Window.py
index eb8c5b1d..bc6e0500 100644
--- a/src/View/Results/Window.py
+++ b/src/View/Results/Window.py
@@ -435,7 +435,7 @@ class ResultsWindow(PamhyrWindow):
             x, y = dlg.value
             self.create_new_tab_custom_plot(x, y)
 
-    def create_new_tab_custom_plot(self, x:str, y:list):
+    def create_new_tab_custom_plot(self, x: str, y: list):
         name = f"{x}: {','.join(y)}"
         wname = f"tab_custom_{x}_{y}"
 
-- 
GitLab