diff --git a/src/river_annotation_tool/annotation_script.py b/src/river_annotation_tool/annotation_script.py index c8200e0..d3c3c28 100644 --- a/src/river_annotation_tool/annotation_script.py +++ b/src/river_annotation_tool/annotation_script.py @@ -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 = {}