Title is now on top to avoid hiding image

This commit is contained in:
2026-05-08 08:49:57 +02:00
parent 41b6d06ca3
commit 732fad9570

View File

@@ -289,14 +289,7 @@ class Annotator(QMainWindow):
self.img = self.ax.imshow(self.frames[0])
self.mask_img = self.ax.imshow(np.zeros((self.dh, self.dw, 4)))
self.title_text = self.ax.text(
5,
15,
self.filename.name,
color="white",
fontsize=10,
bbox=dict(facecolor="black", alpha=0.5),
)
self.title_text = self.ax.set_title(self.filename.name, fontsize=10, pad=4)
def _init_ui(self):
self.q_widgets = {}