def zoom_out(self):
        """Zooms out by zoom factor"""

        zoom = self.grid.grid_renderer.zoom

        target_zoom = zoom * (1 - config["zoom_factor"])

        if target_zoom > config["minimum_zoom"]:
            self.zoom(target_zoom)
def zoom_out ( self ) : zoom = self . grid . grid_renderer . zoom target_zoom = zoom * ( 1 - config [ "zoom_factor" ] ) if target_zoom > config [ "minimum_zoom" ] : self . zoom ( target_zoom )
Zooms out by zoom factor