diff --git a/panels/bed_mesh.py b/panels/bed_mesh.py index 9d151787..bada4be7 100644 --- a/panels/bed_mesh.py +++ b/panels/bed_mesh.py @@ -271,7 +271,6 @@ class BedMeshPanel(ScreenPanel): ax.zaxis.set_major_formatter('{x:.02f}') fig.colorbar(surf, shrink=0.7, aspect=5, pad=0.25) - title = Gtk.Label() title.set_markup(f"{profile}") title.set_hexpand(True) diff --git a/panels/print.py b/panels/print.py index ddd14cea..071838ad 100644 --- a/panels/print.py +++ b/panels/print.py @@ -225,7 +225,6 @@ class PrintPanel(ScreenPanel): file.set_hexpand(True) file.set_vexpand(False) - icon = Gtk.Button() GLib.idle_add(self.image_load, filepath) icon.connect("clicked", self.confirm_delete_file, f"gcodes/{filepath}")