mirror of https://gitlab.com/pamhyr/pamhyr2
Results: Fix pep8 format.
parent
daaa9b193e
commit
ae40097b51
|
|
@ -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):
|
||||||
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}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue