pep8: Some modifications to respect pep8 standard code.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-10-11 11:06:45 +02:00
1 parent 8544dd1144
commit fa2454d079
152 files changed
+1626 -1277

No files matched your search

+7 -6
View File
@@ -25,16 +25,17 @@ from PyQt5.QtCore import (
_translate = QCoreApplication.translate
class PlotAC(PamhyrPlot):
def __init__(self, canvas=None, trad=None, toolbar=None,
results=None, reach_id=0, profile_id=0,
parent=None):
super(PlotAC, self).__init__(
canvas = canvas,
trad = trad,
data = results,
toolbar = toolbar,
parent = parent
canvas=canvas,
trad=trad,
data=results,
toolbar=toolbar,
parent=parent
)
self._current_timestamp = max(results.get("timestamps"))
@@ -68,7 +69,7 @@ class PlotAC(PamhyrPlot):
z = profile.geometry.z()
self.canvas.axes.set_xlim(
left = min(x), right = max(x)
left=min(x), right=max(x)
)
self.line_kp, = self.canvas.axes.plot(