Pamhyr: Fix Pep8.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-02-14 17:03:05 +01:00
1 parent c58dc5785a
commit 5226836211
3 files changed
+1 -2

No files matched your search

-1
View File
@@ -181,7 +181,6 @@ class PamhyrPlot(APlot):
self.toolbar_update() self.toolbar_update()
def toolbar_update(self): def toolbar_update(self):
if self._toolbar is not None: if self._toolbar is not None:
self._toolbar.update() self._toolbar.update()
-1
View File
@@ -91,7 +91,6 @@ class PamhyrPlotToolbar(NavigationToolbar2QT):
def add_tool_separator(self): def add_tool_separator(self):
self.toolitems.append((None, None, None, None)) self.toolitems.append((None, None, None, None))
def init_tool_home(self): def init_tool_home(self):
self.toolitems.append( self.toolitems.append(
( (
+1
View File
@@ -250,6 +250,7 @@ def old_pamhyr_date_to_timestamp(date: str):
return ts return ts
####################### #######################
# COMMAND LINE PARSER # # COMMAND LINE PARSER #
####################### #######################