Skip to content

Commit 9afb6b9

Browse files
author
LAKESIDE\LindaT18
committed
add default roi position and angle
1 parent 45d4ac4 commit 9afb6b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PythonGUI_apps/Image_analysis/Image_analysis.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ def resize_to_scaling_factor(self, image):
115115
elif self.ui.horizontal_radioButton.isChecked():
116116
roi_height = self.scaling_factor * width
117117
self.roi.setSize([roi_height, height])
118-
118+
self.roi.setAngle(0)
119+
self.roi.setPos(0, 0)
119120
self.line_profile_update_plot()
120121
except:
121122
pass

0 commit comments

Comments
 (0)