Title is now on top to avoid hiding image
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user