Skip to content

Commit

Permalink
wxGUI: Fixed F841 in dialogs.py, frame.py (#4431)
Browse files Browse the repository at this point in the history
* fixed 841

* removed dlgSize comments
  • Loading branch information
arohanajit authored Oct 3, 2024
1 parent f0a997c commit aa1c32a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions gui/wxpython/iscatt/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ def _layout(self):
border = wx.BoxSizer(wx.VERTICAL)
dialogSizer = wx.BoxSizer(wx.VERTICAL)

regionSizer = wx.BoxSizer(wx.HORIZONTAL)

dialogSizer.Add(
self._addSelectSizer(title=self.band_1_label, sel=self.band_1_ch)
)
Expand Down Expand Up @@ -356,7 +354,6 @@ def __init__(

self.scatt_mgr = scatt_mgr

maxValue = 1e8
self.parent = parent
self.settings = {}

Expand Down
3 changes: 0 additions & 3 deletions gui/wxpython/iscatt/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,6 @@ def __init__(self, parent, scatt_mgr, id=wx.ID_ANY):

self.Bind(aui.EVT_AUI_PANE_CLOSE, self.OnPlotPaneClosed)

dlgSize = (-1, 400)
# self.SetBestSize(dlgSize)
# self.SetInitialSize(dlgSize)
self.SetAutoLayout(1)
# fix goutput's pane size (required for Mac OSX)
# if self.gwindow:
Expand Down

0 comments on commit aa1c32a

Please sign in to comment.