code: def set_window_geometry(geometry):
      
  
      if geometry is not None:
          x_geom, y_geom, dx_geom, dy_geom = geometry
          mngr = plt.get_current_fig_manager()
          if 'window' in dir(mngr):
              try:
                  mngr.window.setGeometry(x_geom, y_geom, dx_geom, dy_geom)
              except AttributeError:
                  pass
              else:
                  pass
docs: Set window geometry.
  
      Parameters
      ==========
      geometry : tuple (4 integers) or None
          x, y, dx, dy values employed to set the Qt backend geometry.