code: def zoom_1_to_1(self):
          
          viewer = self.getfocus_viewer()
          if hasattr(viewer, 'scale_to'):
              viewer.scale_to(1.0, 1.0)
          return True
docs: Zoom the view to a 1 to 1 pixel ratio (100 %%).