mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
pep8
This commit is contained in:
1 parent
400f6be9e3
commit
c702862bc4
6 files changed
+24
-21
No files matched your search
@@ -1193,7 +1193,8 @@ class ResultsWindow(PamhyrWindow):
|
||||
# b[2] right
|
||||
# b[3] top
|
||||
if b[2] > b[0] and b[1] < b[3]:
|
||||
self.canvas.axes.imshow(img.transpose((1, 2, 0)), extent=[b[0], b[2], b[1], b[3]])
|
||||
self.canvas.axes.imshow(img.transpose((1, 2, 0)),
|
||||
extent=[b[0], b[2], b[1], b[3]])
|
||||
else:
|
||||
dlg = CoordinatesDialog(
|
||||
self.canvas.axes.get_xlim(),
|
||||
@@ -1202,7 +1203,6 @@ class ResultsWindow(PamhyrWindow):
|
||||
parent=self
|
||||
)
|
||||
if dlg.exec():
|
||||
self.canvas.axes.imshow(img.transpose((1, 2, 0)), extent=dlg.values)
|
||||
self.canvas.axes.imshow(img.transpose((1, 2, 0)),
|
||||
extent=dlg.values)
|
||||
self.plot_xy.idle()
|
||||
|
||||
|
||||
Reference in new issue
Block a user