diff --git a/src/View/Results/CustomPlot/Plot.py b/src/View/Results/CustomPlot/Plot.py index ea1e20019fe2eb1e40ebfb5ae2e348ec2f541fe7..56fe6a99014cede00055c67dd6c6cec2e6dd855e 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 eb8c5b1d486f95030a9ce8a6c922f722fe479fba..bc6e05002dceb6a888a19d23a4e4e40294d66b0f 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}"