Commit ae40097b authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

Results: Fix pep8 format.

Showing with 1 addition and 2 deletions
+1 -2
...@@ -79,7 +79,6 @@ class CustomPlot(PamhyrPlot): ...@@ -79,7 +79,6 @@ class CustomPlot(PamhyrPlot):
for axes in self._y_axis[1:]: for axes in self._y_axis[1:]:
logger.info(axes) logger.info(axes)
ax_new = ax.twinx() ax_new = ax.twinx()
#ax_new.spines['right'].set_position(('axes', 1 + spacing * (n - 1)))
ax_new.set_ylabel( ax_new.set_ylabel(
self._trad[axes], self._trad[axes],
color='green', fontsize=12 color='green', fontsize=12
......
...@@ -435,7 +435,7 @@ class ResultsWindow(PamhyrWindow): ...@@ -435,7 +435,7 @@ class ResultsWindow(PamhyrWindow):
x, y = dlg.value x, y = dlg.value
self.create_new_tab_custom_plot(x, y) 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)}" name = f"{x}: {','.join(y)}"
wname = f"tab_custom_{x}_{y}" wname = f"tab_custom_{x}_{y}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment